3 ms·
> Is C/C++ the next wave of web development? asm.js is certainly not targeted at writing web applications in C or C++. It's more about supporting arbitrary lan
by fhd2 13y ago
> Is C/C++ the next wave of web development?
asm.js is certainly not targeted at writing web applications in C or C++. It's more about supporting arbitrary languages and getting existing native code bases (e.g. libraries and game engines) on the web.
There's some more background in this presentation:
http://kripken.github.io/mloc_emscripten_talk/ http://kripken.github.io/mloc_emscripten_talk/
(That said, based on anecdotal evidence, C++ seems to work pretty well on large projects where predictability and reliability matter. So for really large, complex web apps, C++ might become a popular choice. Not really seeing this happen though, as web applications generally handle the hard stuff in the backend.)
> Dart, however, seems like a friendlier environment but it probably won't be as fast a C++(asm.js).
It probably doesn't have to most of the time. Hardly anything in the web applications I've worked on was ever CPU-bound, the network is usually the big bottleneck. We're just scripting the browser after all, most of the hard stuff (rendering, storage engines etc.), is already taken care of by native code.