3 ms·
1. Common Lisp is a fairly big specification for a lisp 2. People doing webdev in lisp have solutions that work "well enough" for them. 3. It's not obvious ho
by aidenn0 7y ago
1. Common Lisp is a fairly big specification for a lisp
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.
- taeric 7y agoI'm curious why the same tricks can't be used on discarded multiple values?
- phs2501 7y agoIf I recall correctly they typically involve manipulating the execution stack; that's not something you can do in JS obviously.
- taeric 7y agoFair. I was assuming you could do something at the evaluation layer that was somewhat equivalent. But it makes sense the bare metal ones are doing something at the machine code layer.