Zag-Smalltalk icon indicating copy to clipboard operation
Zag-Smalltalk copied to clipboard

Mist memory model for Zag

Open Shaping opened this issue 2 years ago • 12 comments

Re: https://www.youtube.com/watch?v=iw4FPqe8KdY&t=1093s 22:05 to 36:05

The above section of Martin McClure's Mist video describes a very simple, fast, exponential memory model involving binary-powers-of-2-sized bins for allocating objects. We need not lift this GC mechanism into the Smalltalk itself, at this early stage, as he is proposing for Mist. We could instead implement this GC design as C primitives on the VM side. In this way, objects on the heap will never move. This fact alone will increase execution speed and create more deterministic latencies.

Thoughts anyone?

Shaping avatar Jul 08 '22 05:07 Shaping