3 ms·
Still, it’s like claiming that OpenJDK is written in java — yeah, the SDK has many parts in Java, but it is still a C++ executable that has bootstrapped another
by kaba0 5y ago
Still, it’s like claiming that OpenJDK is written in java — yeah, the SDK has many parts in Java, but it is still a C++ executable that has bootstrapped another language.
Is the CSS layouting engine, the network stack, the goddamn JS interpreter or the myriad other literal millions of lines of code of firefox is in JS?
Of course electron apps bundle a.. browser, but you are just pedantic. An electron app’s core functionality is not the bundled browser.
- cxr 5y ago> Of course electron apps bundle a.. browser They don't. You are conflating Web browsers and the engines that power them. Web browsers are applications unto themselves. They require lots of application code separate from the underlying engine. You don't get a Web browser by compiling a browser engine and calling it a day. > Is the CSS layouting engine, the network stack, the goddamn JS interpreter or the myriad other literal millions of lines of code of firefox is in JS? VS Code, an Electron app written in TypeScript, requires all the same components. And you keep saying "Firefox" when it's not appropriate to do so. The millions of lines of code in _Gecko_, along with Spidermonkey, establishes a platform for building apps that's on par with the Electron platform. Gecko + Spidermonkey does not a Firefox make, however. The code that makes Firefox Firefox[1] is in a separate application bundle, which includes on the order of hundreds of thousands of lines of JS. 1. ... and not, say, Zotero, which is literally built by downloading a release build of Firefox, stripping out all the Firefox code while leaving Gecko et al intact, and dropping the Zotero code in its place.