book
Writing Interpreters in Rust: a Guide (by rust-hosted-langs)
cactusref
🌵 Cycle-Aware Reference Counting in Rust (by artichoke)
book | cactusref | |
---|---|---|
4 | 2 | |
502 | 147 | |
0.8% | 0.7% | |
3.6 | 7.4 | |
3 months ago | 5 days ago | |
Rust | Rust | |
Creative Commons Attribution 4.0 | MIT License |
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.
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
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!
What are some alternatives?
When comparing book and cactusref you can also consider the following projects:
luxya - Programming language with a tree-walking interpreter written in Rust©™.
mmtk-core - Memory Management ToolKit
AGC - Garbage collection for Ada
sphinx-lang - An intepreter for a simple dynamic language written in Rust
rust-wiki-backup - A backup of the Rust wiki