3 ms·
Does it have hardware GC? (garbage collector)
by amelius 5y ago
Does it have hardware GC? (garbage collector)
- jacquesm 5y agoNo, object allocation and garbage collection are too high level to be handled in a processor of this degree of complexity, besides that you'd lock yourself in in a way that would be hard to change later on if you end up needing more flexibility.
- amelius 5y agoOk, so a GC would have to be implemented in lisp?
- lispm 5y agoLater CPUs from Symbolics had some hardware support for the GC, which was largely implemented in Lisp and/or microcode.
- jacquesm 5y agoEither that, or in the (rather limited) machine language the processor supports. But there is no push to solve this in a particular way. Here is an article about the Lisp Machine's garbage collection: http://funcall.blogspot.com/2009/05/before-i-got-distracted-by-tail.html http://funcall.blogspot.com/2009/05/before-i-got-distracted-...
- colejohnson66 5y agoIntel famously tried that with the iAPX 432[0]. It design appears to have been influenced by Lisp machines but with more features and using Ada instead of Lisp. GC support still required OS support, however. [0]:https://en.wikipedia.org/wiki/Intel_iAPX_432 https://en.wikipedia.org/wiki/Intel_iAPX_432
- jacquesm 5y agoOh, that's interesting, I always thought of that 432 as the 'ADA' chip, I never realized that the Lisp machine was an input to it. Makes me wonder if it would have been any good at running a slightly hardware accelerated Lisp.
- colejohnson66 5y agoI can't say for sure that Lisp machines influenced it (the ISA predates me by at least two decades), but it definitly feels to me like it was because it's an ISA build for a language.