3 ms·
> What I'd dread is writing the garbage collector in assembly. Maybe you could rely on reference counting, but that could still be a mess. You don't have to wr
by JoshTriplett 11y ago
> What I'd dread is writing the garbage collector in assembly. Maybe you could rely on reference counting, but that could still be a mess.
You don't have to write the final Lisp in assembly; you write the first Lisp in assembly, and the final Lisp in Lisp.
- Turing_Machine 11y agoSure. At a naive (but workable) level, you could just use assembly to link all the free space up into one humongoid list at startup, then operate on that using Lisp (either directly, or by having a later stage in the startup transform this rudimentary free list into something more sophisticated).