/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
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...
2.5 parsecs

Travel
| |
| | 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.
2.4 parsecs

Travel
| |
| | aykevl.nl

An explanation of how garbage collectors work including some pseudocode how a real GC could be implemented.
1.9 parsecs

Travel
| |
| | 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.
19.0 parsecs

Travel
|