I have not found the right category for this here, but the following bothers me:
What about WebAsm?
Somewhere in the docs and on this site
you are constantly referred to Web Assembly,
often with regard to compatibility.
I am asking me:
What are the plans?
What can change, what has to stay, if Elm is ever compiled to Web Assembly?
Have you searched for WebAssembly on discourse? This has been discussed a lot.
Quick and short answer:
No plans for now
good question. From what I know the language is currently designed in such a way, that hopefully nothing needs to change once we can compile to WebAssembly.
For further reading, check out @Brian_Carroll’s work writing a compiler for WebAssembly:
Thanks for the mention! Totally agree with everything you said.
My project is just an exploration at the moment. I don’t think there are any official plans.
From the Elm developer’s perspective, nothing should need to change. I imagine it would end up as a new command line option to elm make. My compiler generates both Wasm and JS for now. It must do that until Wasm matures a bit more (gets web APIs).
I’ve made good progress since the post you linked. Just need to find some time to put together another post, demo, whatever.