3 ms·
And the same can be said for elm on the web dev world. It's a nice compromise between haskell and friendliness, allowing a greater adoption. In the not-so-long
by napsterbr 10y ago
And the same can be said for elm on the web dev world. It's a nice compromise between haskell and friendliness, allowing a greater adoption. In the not-so-long future, Elm will be able to take advantage of web assembly and ditch javascript (almost) completely.
By no means imperative languages will disappear, but I too share the opinion the future is bright for f#, elm, erlang etc.
- jahewson 10y agoDitching JavaScript for Web Assembly in a language like Elm would require Elm to ship with a GC. Certainly possibly, but it doesn't sound like fun.
- hajile 10y agoWebAssembly has no way of directly interacting with the DOM. It has to use JS interopt which is quite slow. It'll take a couple years to get Wasm up to speed. It'll be a couple more years to add the rest of the low-level interfaces and even more time to deliberate about a GC spec (you don't want to ship apps with entire language environments attached). It'll be a couple more years to deliberate over new DOM APIs and a couple more to implement them. After that, it'll be a half-decade or more until old browser share drops low enough to use it without needing a JS equivalent.