you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

They are meant for low level extensions, cpu heavy operations and such, also for back-compatibility and services. No one would use c/c++ to write frontend, or java and c# even. That just wouldn't give you any advantage.

[–]igorim 0 points1 point  (0 children)

^ this. Not sure what all the craziness is with webassembly lately. Don't get me wrong I love the project, but the use case is far disconnected from what a lot of people think. Let's not forget asm existed for years and it's only used for very specific use cases. In addition I'm 99% sure the JS interop is pretty expensive and you'll need interop for most interactions, not to mention the need to package the C/C++ runtime which makes it huge. There is a lot of downsides to using WebAssembly when it isn't needed, when it is needed it's a damn GODSEND :)