Hacker News new | ask | show | jobs
by glass_of_water 1389 days ago
Could you compile to wasm, or is there extra work involved in making that possible? One reason I shied away from learning Common Lisp is that none of the popular implementations seem to run in the browser.
1 comments

There are efforts, but it's slow going so far. You don't get tail recursion, which isn't required for CL but nice to have, and the condition system is a little too flexible to be easily instantiated with the primitives you're given.
And for reasons that aren’t clear to me, the WASM standards people appear outright hostile to changes that would make it easier.
As frustrating as it is, I can see how a project which occupies a bloody battleground of a common space would develop an allergy for changes which aren't universally desired. Seems like a simple proper subroutine jump would be a nice addition which no one would have to use unless they wanted to, but there are lots of things like that and eventually one of them would have something dumb go wrong.