book
Writing Interpreters in Rust: a Guide (by rust-hosted-langs)
simple-chunk-allocator
A simple allocator written in Rust that manages memory in fixed-size chunks. (by phip1611)
book | simple-chunk-allocator | |
---|---|---|
4 | 1 | |
466 | 10 | |
0.0% | - | |
4.5 | 2.0 | |
4 months ago | 10 months 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
simple-chunk-allocator
Posts with mentions or reviews of simple-chunk-allocator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-31.
-
Taking ownership of memory, how straightforward is it?
I do not know much about arena allocators yet. I'm confident, the answers by the others have a high quality. However, I'd like to point out how I solved such a problem. A few months ago, I worked on a Linux emulation project where I needed a fast allocator. I created https://github.com/phip1611/simple-chunk-allocator which fulfills most allocations in less than 600 processor ticks. I considered that as reasonable fast back then.
What are some alternatives?
When comparing book and simple-chunk-allocator you can also consider the following projects:
sphinx-lang - An intepreter for a simple dynamic language written in Rust
storages-api
cactusref - 🌵 Cycle-Aware Reference Counting in Rust
talc - A fast and flexible allocator for no_std and WebAssembly
luxya - Programming language with a tree-walking interpreter written in Rust©™.
wee_alloc - The Wasm-Enabled, Elfin Allocator
proc - Procedural Intel x86_64 compiler from scratch, inspired by Fortran, Pascal and Assembly.
mmtk-core - Memory Management ToolKit
sundial-gc - WIP: my Tweag open source fellowship project
TablaM - The practical relational programing language for data-oriented applications