cactusref
🌵 Cycle-Aware Reference Counting in Rust (by artichoke)
book
Writing Interpreters in Rust: a Guide (by rust-hosted-langs)
cactusref | book | |
---|---|---|
2 | 4 | |
144 | 493 | |
0.0% | 0.6% | |
7.1 | 3.1 | |
6 days ago | 4 months ago | |
Rust | Rust | |
MIT License | Creative Commons Attribution 4.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
cactusref
Posts with mentions or reviews of cactusref.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-12.
-
Why Can't `Box` Be Abstracted Away From the Developer?
Absolutely. I have seen some pretty cool concepts in Rust for memory cleanup; not just garbage collection, but deterministic reference cycle removal by cactusref. And the fun thing about these is that you still get all of Rust's zero-cost abstractions and epic modern language design.
-
CactusRef: an experimental cycle-aware Rc and mini tracing GC
I've put together a WIP PR to experiment with a safe adoption API: https://github.com/artichoke/cactusref/pull/47. This allows the doubly linked list example to be implemented in safe code without leaks. I didn't even think this was possible! Thanks for making me think!
book
Posts with mentions or reviews of book.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-24.
-
I'm wanting to write my first compiler, but getting a little bit mixed up in general.
Kind of an interpreter but it does compile to bytecode and is written in rust https://github.com/rust-hosted-langs/book I thought it was a great tutorial, both for learning rust, and about compilers
-
Best resources for a rust interpreter?
Then go to: - rust-hosted-langs/book: Writing Interpreters in Rust: a Guide or https://craftinginterpreters.com/
-
I'm building a dynamic language in Rust
https://github.com/rust-hosted-langs/book is a work in progress
What are some alternatives?
When comparing cactusref and book you can also consider the following projects:
mmtk-core - Memory Management ToolKit
sphinx-lang - An intepreter for a simple dynamic language written in Rust
rust-wiki-backup - A backup of the Rust wiki
simple-chunk-allocator - A simple allocator written in Rust that manages memory in fixed-size chunks.
AGC - Garbage collection for Ada
luxya - Programming language with a tree-walking interpreter written in Rust©™.
seize - Fast, efficient, and robust memory reclamation for Rust.
luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua
proc - Procedural Intel x86_64 compiler from scratch, inspired by Fortran, Pascal and Assembly.
artichoke - 💎 Artichoke is a Ruby made with Rust
sundial-gc - WIP: my Tweag open source fellowship project