Come on gerv, I've hacked on Mozilla. Am I going to find that Mozilla's AES implementation is now in Javascript? No. The image renderer? No. There are all these big complex systems in C++, and then there's glue holding the thing together, and that glue's where Javascript is (mostly) found.
I recall (I am an old codger) fairly well the work to implement PAC in Mozilla, and basically 95% of the heavy lifting was C++ hacking, and then it needed some glue to connect it up and handle prefs and so on, and that was in Javascript.
And to get to the point where Javascript plays this role, Mozilla had to create XPCOM. So Javascript without XPCOM would be even less suited to writing a whole application.
Posted May 21, 2009 20:27 UTC (Thu) by gerv (subscriber, #3376)
[Link]
More and more parts are being rewritten in JavaScript, for all the obvious reasons (high-level language, no buffer issues etc.) I don't have the time to run a full code line counter, but: