DEV Community

Discussion on: C++ is awesome, here's why...

Collapse
 
efpage profile image
Eckehard

Well, we had that precise question: We had some well designed applications, some with more than 60.000 lines of code. Our question was: can we bring this apps to the web somehow? I suppose, WebAssembly will not help us here, as they provide a completely new ecosystem. Finally it would mean to rewrite most parts of the code.

We will see how WebAssembly develops. Currently is seems to be a young project that has not too much impact. Maybe if they get direct access to the DOM this could change. I would really appreciate if there was a new binary layer able to run languages other than JAVA. But currently we cannot ignore that this is not the common state.

Thread Thread
 
vnjogani profile image
Vinit Jogani

Yep that's a fair point. The sad truth is that the dominance of JS on the web is hard to replace given how much tooling we now have built around it.

Thread Thread
 
efpage profile image
Eckehard

Initially I did not like JS at all. There are still somethings I hate the designers for (most of all the overwhelming use of "this" in class definitions). But I was amazed that we had less trouble than expexted in our projects. You can have real trouble with the sloppy type conversions. But we had this kind of tricky errors too in languages with static typing.

You will need some more checks and a bit different style with JS, but the loose typing can also be very elegant. Overall it is not as bad as expected. Definively better than Visual Basic. It is more like an ugly, but very handy friend.

Initially I thought, TS is a must-have. After I got a bit used to JS I'm not that sure.