←back to thread

141 points todsacerdoti | 4 comments | | HN request time: 0.95s | source
Show context
bevr1337 ◴[] No.44380860[source]
Why was LISP not one of the first languages able to compile to WASM? I've been curious ever since the awesome WASM project started tracking different projects. They use emojis for progress and LISP has been a hatching egg.
replies(2): >>44381096 #>>44381862 #
1. no_wizard ◴[] No.44381096[source]
It sorta has been. As a language design it is already native via the WAT[0] which compiles to web assembly.

[0]: https://webassemblyman.com/wat_webassembly_text_format.html

replies(1): >>44381200 #
2. bevr1337 ◴[] No.44381200[source]
Do you know why only sorta? My understanding is that only toy implementations exist right now but nothing production ready. I'm poking around Google and GitHub and not finding any new information.

> Implementing Lisp onto WebAssembly is so obvious that you may wonder why somebody did not have this idea long ago.

I did find this on the Femto GitHub and got a chuckle. Yes, dear author, that is exactly the piece of information I want explained. Too funny.

replies(1): >>44383234 #
3. no_wizard ◴[] No.44383234[source]
It doesn’t have to very last trapping of a proper LISP if I recall correctly is why I say kinda.

It’s an S expression language though with some similarities to LISP

replies(1): >>44383311 #
4. bevr1337 ◴[] No.44383311{3}[source]
Thanks for clarifying. I've been speculating on this for a while but haven't had the chops to know what to research. The details folks are providing are yielding much better search results.