Re:Compiler Errors for Humans
by david-given on Wednesday July 01, 2015 @04:00AM
(#9810521)
Actually, while it's still not direct machine code, if you can target Javascript as a backend I bet you can target Lua, which has very similar but less weird semantics; that means you get to run it on LuaJIT. That gives you a tiny, very very fast VM and garbage collector.
I'd be very happy with Elm compiled to WebAssembly as a stepping stone on the way to fully native :)
Re:Compiler Errors for Humans
by wheatBread on Wednesday July 01, 2015 @01:28AM
(#9810226)
You need a garbage collector either way, so doing one implies you have pretty much succeeded at the other. So it's like two stepping stones that are right next to each other and quite a long jump away :P I think we'll get there though!
Also, thanks for taking a look at Elm! I think of it as a member of "the ML-family" of languages and I draw from a lot of lessons from working with these tools and seeing what issues have come up for other folks, both within the typed functional world and not.