/explore
|
You are here |
blog.pnkfx.org | ||
| | | | |
boats.gitlab.io
In the previous post I said that in the second post in the series we'd talk about how rooting works. However, as I sat down to write that post, I realized that it would be a good idea to back up and give an initial overview of how a tracing garbage collector works - and in particular, how the underlying garbage collector in shifgrethor is implemented. In the abstract, we can think of the memory of a Rust program with garbage collection as being divided into three sections: the stack, the "unmanaged" heap... |
|
| | | | | ||
| | | | |
without.boats
[AI summary] The post explains the overview and implementation of a tracing garbage collector in Rust, specifically within the Shifgrethor project, covering concepts like rooted memory, mark-and-sweep phases, and linked list structures. |
|
| | | | | ||
| | | | |
aykevl.nl
An explanation of how garbage collectors work including some pseudocode how a real GC could be implemented. |
|
| | | | | ||
| | | | |
cfallin.org
[AI summary] The article discusses the development of an Ahead-of-Time (AOT) compiler for JavaScript, leveraging precompiled inline-cache (IC) stubs. By moving runtime type binding to indirect calls, the compiler can generate static code, enabling full AOT compilation. This approach achieves significant performance improvements, with a 2.77x geometric mean speedup on various benchmarks. The article also explores further optimizations through profile-guided inlining, and compares this method with other AOT approaches like Hopc's type inference. The potential for future enhancements and the use of compiler backends derived from interpreters are also highlighted. |
|
| | | |||