3 ms·
> The spaghetti stack implementation makes continuation type things comfortably implementable and also runtime introspection of program state. For a long time
by gumby 3y ago
> The spaghetti stack implementation makes continuation type things comfortably implementable and also runtime introspection of program state.
For a long time that spaghetti stack implementation was buggy because I don’t think it was really used. When I was at PARC working on 3-Lisp I wrote an emacs (being no fan of structure editing or the mouse) in Interlisp-D. I chose to make each command binding a closure (so you had all the proper mode context etc). That spaghetti light on the mouse cursor was basically perpetually on and the machine became unusable.
I showed Masinter. It seems like nobody had ever thought of creating thousands of closures before. The bug was eventually fixed but by then I’d chosen a different strategy.
- DonHopkins 3y agoI bet the bug was caused by a copy-and-pasta error!