/explore
|
You are here |
thestone.zone | ||
| | | | |
thiscontext.com
The core of the mechanism is working. I've bootstrapped a Smalltalk virtual machine and object memory as a WebAssembly (WASM) module, using the type system that supports garbage collection there. I have two motivations for doing this: I'd like to see how fast it can run, and I'd like to see how it can interoperate... |
|
| | | | | ||
| | | | |
danilafe.com
In this post, we implement a garbage collector that frees memory no longer used by the executables our compiler creates. |
|
| | | | | ||
| | | | |
journal.stuffwithstuff.com
|
|
| | | | | ||
| | | | |
boats.gitlab.io
Today I realized a new crate called pin-cell. This crate contains a type called PinCell, which is a kind of cell that is similar to RefCell, but only can allow pinned mutable references into its interior. Right now, the crate is nightly only and no-std compatible. How is the API of PinCell different from RefCell? When you call borrow_mut on a RefCell, you get a type back that implements DerefMut, allowing you to mutate the interior value. |
|
| | | |||