3 ms·
Timothy Budd's Little Smalltalk book and implementation explain how to write such a VM. You can find a copy of the book at http://stephane.ducasse.free.fr/FreeB
by i_don_t_know 8y ago
Timothy Budd's Little Smalltalk book and implementation explain how to write such a VM. You can find a copy of the book at http://stephane.ducasse.free.fr/FreeBooks.html http://stephane.ducasse.free.fr/FreeBooks.html
You can also google for the various version of the system. System 1 is the one described in the book. System 4 consist of a very simple VM in C that implements only the byte code interpreter, memory management and garbage collection. Everything else is implemented in Smalltalk itself, including the compiler. The system is considerably smaller and easier to understand than a full Smalltalk 80 system.
System 4 appears to be archived at https://web.archive.org/web/20071005062021/http://www.littlesmalltalk.org/index.php?page=version-4 https://web.archive.org/web/20071005062021/http://www.little...