3 ms·
If you disagree with the following opinion please don't down vote me instead enlighten me. Frankly I don't see the point of compiling C/C++ to JavaScript. If y
by jorgecastillo 13y ago
If you disagree with the following opinion please don't down vote me instead enlighten me.
Frankly I don't see the point of compiling C/C++ to JavaScript. If you'r using C/C++ you might as well compile to machine code, it's not like you gain anything by compiling to JavaScript.
- tomdale 13y agoYou get the security model of the browser; you can run code at native speed without worrying about it accessing your private data.
- jamesjporter 13y agoWhat tom said; also typing a url in a browser is a lot easier than installing something. This might sound silly but for the typical computer user (and even many nerds!) it makes a big difference.
- zimbatm 13y agoYou don't have to rewrite it.
- alan_cx 13y agoFriendly tip: Ask a question rather than state a potentially incorrect opinion which sounds like you think you know what you are talking about, but suggests that you don't. With my limited knowledge, you point initially makes sense to me. But clearly you and I don't know enough. Yes, it does on the face of it seem odd to compile C to JS. In fact, it seems positively mental. But then now I have read the replies, I can now see why. Trick is to acknowledge one's knowledge limits.