Any specific use case on your mind or generally?
There are gazillion languages which compile down to JS. Like Elm, Kotlin, PureScript. I do not see any innovation with WebAssembly here. There are for sure use cases for WebAssembly, like performant code for games (WebGL) maybe something else...
There is a difference between "writing code that will be JS" and "writing code that will be bytecode".
So you can write code that will be auto translated to JS that will be auto translated to machine code :D
But you can't write it in C!
Why do you need C to develop a frontend?
Have you seen the proof of concept Quake js ?
Of course I have.
Well, if I "have" to write client-side code, I want to have a strongly typed, blazing fast language for that.
ReasonML it is. But it is a bit raw (not ready for production) for my taste
But there already are strongly typed languages you can use to write frontend code and V8 (and other VMs are more or less on par) is fast.
You just need to give them a try instead of waiting for the "perfect" solution ;-)
Strongly typed is ambigious term. Elm is statically typed and from ML family, so it most likely sound system (haven't seen formal proof).
Elm solves other problems than C, but - as of today - it is one of the least painful options to write client-side code.
what about elixir and phoenix? they claim some impressive performance.
BTW Phoenix is a server side framework...
Well, not necessarily. Using WebAssembly, you could use any UI library you want, if it runs on OpenGL, because WebAssembly can access WebGL already. This means that the DOM may finally be replaced by something that was made for interactive graphics from the ground up, and not in retrospective.
That'd be neat, the future sounds bright.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.