Re:Valtan: Common Lisp to JavaScript Compiler
by taeric on Friday April 03, 2020 @09:35PM
(#22775489)
I'm curious why the same tricks can't be used on discarded multiple values?
Re:Valtan: Common Lisp to JavaScript Compiler
by phs2501 on Friday April 03, 2020 @11:47PM
(#22776062)
If I recall correctly they typically involve manipulating the execution stack; that's not something you can do in JS obviously.
2. People doing webdev in lisp have solutions that work "well enough" for them.
3. It's not obvious how to compile a lot of commonly used CL constructs into efficient javascript. Discarded multiple values, for example, are extremely efficient on bare-metal implementations, but will have measurable overhead when not inlined in any javascript implementation.