News for hackers. Stuff that matters.
Re:Small Assets without the Headache in Elm 0.19 by Skinney on Tuesday August 21, 2018 @10:13AM (#17809732)
WebAssembly is still far away from being any sort of default for web development yet (if only because IE11 doesn't support it).

I also wouldn't be surprised if Elm compiled to wasm in the future.

Re:Small Assets without the Headache in Elm 0.19 by dorian-graph on Tuesday August 21, 2018 @10:21AM (#17809828)
It's openly a desired/considered goal for Elm to compile to wasm.
Re:Small Assets without the Headache in Elm 0.19 by Skinney on Tuesday August 21, 2018 @01:08PM (#17811512)
I know, I'm one of the people looking into it.
Re:Small Assets without the Headache in Elm 0.19 by dorian-graph on Tuesday August 21, 2018 @02:42PM (#17812497)
Oh, haha! Cool.
Re:Small Assets without the Headache in Elm 0.19 by vimslayer on Tuesday August 21, 2018 @11:35AM (#17810515)
Most compilers that target WebAssembly can also target asm.js, which is compatible with IE.

AFAIK it's more about missing stuff like DOM access and GC that stands in the way.

Re:Small Assets without the Headache in Elm 0.19 by Skinney on Tuesday August 21, 2018 @01:14PM (#17811588)
> Most compilers that target WebAssembly can also target asm.js, which is compatible with IE.

asm.js is different enough that it's just not about adding a seperate asmjs "compatibility" target. On the top of my head you don't have 64-bit ints or floats and I believe the way you call asm.js fns from/to JS is different from wasm. Adding asm.js support just for IE 11 wouldn't be worth the effort.