Re:A Brief History of Lisp Machines (2008)
by gglitch on Thursday September 28, 2017 @03:12PM
(#15359912)
"Lisp-based userland" is how I'm going to describe Emacs from now on.
Re:A Brief History of Lisp Machines (2008)
by zokier on Thursday September 28, 2017 @03:26PM
(#15360002)
I would imagine that LISPy CPU would have stuff like CONS/CAR/CDR as primitive instructions, and probably memory management heavily optimized for processing lists.
Re:A Brief History of Lisp Machines (2008)
by msla on Thursday September 28, 2017 @04:43PM
(#15360560)
The original LISP machine, the IBM 704, had CAR and CDR as primitives. And boy, were they primitive:
> These names are hold-overs from the original implementation of LISP on the IBM 704. That machine had partial-word instructions to reference the address and decrement parts of a machine location. The a of CAR comes from "address", the d of CDR comes from "decrement". the c and r come from "contents of" and "register". Thus CAR could be read "contents of address part of register".
So I've dismissed the idea of a custom processor. It just doesn't seem to have much value vs using ARM or RISC-V or x64.
I've thought about the kernel aspect, but this mainly seems like drudge work. reimplementing stuff that's been a solved problem for a long time with linux. Not to mention drivers, which would be a massive massive effort.
So I sort of settled on the idea of a lisp based userland. That seems at least feasible.
I don't really understand containers well enough to understand what exactly is exposed to a program you are writing. I've heard you can run statically compiled programs without installing a base distribution. So maybe that would be where to start.