aplette
sgcl
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aplette
- Boehm-Demers-Weiser Garbage Collector
-
Try APL
There is Aplette which supposedly integrates nicely with other Unix tools. It's a port/update of the earlier openAPL source code, which I think was done by Ken Thompson? Here:
https://github.com/gregfjohnson/aplette
-
The APL Orchard
If you're interested in recent developments in array languages, I recommend checking out:
BQN https://mlochbaum.github.io/BQN/
ngn/k https://git.sr.ht/~ngn/k/tree/master/item/readme.txt (Previous discussion: https://news.ycombinator.com/item?id=22009241)
aplette, which is a modernization of Ken Thompson's APL https://github.com/gregfjohnson/aplette (Previous discussion: https://news.ycombinator.com/item?id=21740536)
I'd also recommend checking out J, which isn't a recent development, but has the best syntax out of all array languages, has the best development environments, is the easiest to learn (it has a way to learn it built into the language itself!), and is the only one that treats making GUIs as a first-class feature: jsoftware.com (Has so many previous discussions I just recommend using HN search to find them.)
The chat is biased to Dyalog APL, but a lot of the modern additions Dyalog has made to the language make it (in my opinion) worse as a notation, so ideally don't let it turn you off of the concept of array languages entirely if Dyalog doesn't "click" with you.
If you haven't already, you should also check out Notation as a Tool of Thought, a paper so good it won Iverson the Turing Award:
https://www.eecg.utoronto.ca/~jzhu/csc326/readings/iverson.p...
sgcl
-
Garbage Collection for Systems Programmers
The SGCL repository contains the source code for this benchmark that uses the tracked pointers: https://github.com/pebal/sgcl/blob/main/examples/treap/treap...
- SGCL: A real-time Garbage Collector for C++
-
Boehm Garbage Collector
You can look at the SGCL garbage collector for C++: https://github.com/pebal/sgcl. It works in a separate thread, is locks-free and never stops the world.
-
The missing C++ smart pointer
It will never be called gc_ptr because C++ programmers have an allergy to the term GC. However, an attempt was made to implement a similar solution. Take a look at tracked_ptr: https://github.com/pebal/sgcl
-
Boehm-Demers-Weiser Garbage Collector
SGCL is a real-time garbage collector for C++ without any pauses.
https://github.com/pebal/sgcl
-
Now the C++ removed garbage collector support, is it still possible the have a global garbage collector in a C++ application?
Removed GC support was useless. You can have GC pointers in C++.
-
The Year of C++ Successor Languages
Mutators are threads that allocate memory and manipulate pointers, they can work completely independently of the GC. A mutator needs only to tag an object when copies or moves a pointer to this object. The GC detects this tag and marks the object as alive. Here is a working implementation for C++: https://github.com/pebal/sgcl
-
Optimizing Concurrent Mark&Sweep latency? What are the ways?
I don't know Rust but you can have a pauseless GC in C++. You just need to provide asynchronous access to root pointers.
- SGCL: Real-time garbage collector for C++
What are some alternatives?
ngn-apl - An APL interpreter written in JavaScript. Runs in a browser or NodeJS.
rune - Rune is a programming language developed to test ideas for improving security and efficiency.
json - A tiny JSON parser and emitter for Perl 6 on Rakudo
valuable - A C++ smart-pointer with value-semantics 💎
ride - Remote IDE for Dyalog APL
gcpp - Experimental deferred and unordered destruction library for C++
APL.jl
nottinygc - Higher-performance allocator for TinyGo WASI apps
array - Simple array language written in kotlin
kit - not-in-progress compiler for Windows/Linux/macOS
bdwgc - The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)