|
|
|
|
|
by cxr
1680 days ago
|
|
> Firefox's 250k LOC are riding on the millions of lines of code of the underlying operating system and GUI | TCP | audio toolkits that it used. Right, just like every other Electron-style app that exists. The comparison I made was a fair one. > To compare it to npm development, you would need to factor in the total footprint of every package that you had to install to compile Firefox in 2011. No, you wouldn't. That's a completely off-the-wall comparison. How many lines of application code (business logic written in JS including transitive NPM dependencies before minification) go into a typical Electron app in 2021? Into a medium sized web app? Is the heft-to-strength ratio (smaller is better) less than that of Firefox 4, about the same, or ⋙? |
|
If I do the same thing with my JS app, I still download a bunch of libraries, but puts them all in node_modules. That’s also about 500MB. The resulting compiled/built code is around 2MB.
I dunno, seems roughly the same.