How has V8 reduced memory without hurting runtime performance? Lazily building function feedback data, GCing little used bytecodes, and even avoiding generating source positions!
Proper tail calls were added to the JS standard, but most implementations don't provide it. V8 even built it then removed it!
The concern is worse developer experience. An opt-in syntax has been proposed (cf loop/recur in Clojure) but no consensus.
https://www.mgmarlow.com/words/2021-03-27-proper-tail-calls-js/
The read function (lex+parse) in lisp is really handy for building little analysis or metaprogramming tools. The runtime has it, so why not allow users to use it?
However, there's no equivalent for just lexing AFAIK. It's a shame because the same arguments apply!
Wilfred Hughes
Shared words: runtime, building, function, little
Score: 68.6