News for hackers. Stuff that matters.
Re:Valtan: Common Lisp to JavaScript Compiler by aidenn0 on Friday April 03, 2020 @12:50PM (#22771308)
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.

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.
Re:Valtan: Common Lisp to JavaScript Compiler by taeric on Saturday April 04, 2020 @11:56AM (#22779007)
Fair. 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.