Ah, this brings back memories. We had this MACRO-11 concept called “threaded code” (not
threads in the multiprocessing sense). Essentially we had very small code fragments
that were loaded into a table and we’d run them to process data with very light JSR/RET
linkage (minimal register saves).
Getting back to Richie’s idea of lightweight functions, it indeed is a more maintainable
style and perhaps ahead of it’s time when modern highly optimized inlining compilers came
around it made it efficient without the programmer needing to wrap his head around it too
much.
On Jan 5, 2016, at 1:03 PM, Warner Losh
<imp(a)bsdimp.com> wrote:
Back in the early days of my career, I saw MARK used once in
MACRO-11 to implement a switch statement.