@[email protected] to [email protected]English • edit-26 months agoQuake-like game made with JavaScript takes up just 13KB of storagewww.tomshardware.comexternal-linkmessage-square89fedilinkarrow-up1498
arrow-up1498external-linkQuake-like game made with JavaScript takes up just 13KB of storagewww.tomshardware.com@[email protected] to [email protected]English • edit-26 months agomessage-square89fedilink
minus-square@[email protected]linkfedilinkEnglish21•6 months agoHow much of that is third-party libraries, and/or third-party hosted? Obviously the assets (images and music) aren’t being counted.
minus-square@[email protected]linkfedilinkEnglish39•6 months agoThe whole page transferred about 7kB and shows 18.2kB of ressources according to the debug tools.
minus-square@[email protected]linkfedilinkEnglish29•6 months agoThe game also requires a renderer (browser) to play. I think what they did is impressive but the claim about the size feels like taking source code and saying “look how small on disk it is”
minus-square@[email protected]linkfedilinkEnglish5•6 months agoThat is still source code, obfuscated but still source code.
minus-squareStarDreamerlinkfedilinkEnglish1•6 months agoNot sure about GreaseMonkey, but V8 compiles JS to an IL. Nodejs has an emit IL debugging feature to see the emitted IL code.
How much of that is third-party libraries, and/or third-party hosted? Obviously the assets (images and music) aren’t being counted.
The whole page transferred about 7kB and shows 18.2kB of ressources according to the debug tools.
The game also requires a renderer (browser) to play.
I think what they did is impressive but the claim about the size feels like taking source code and saying “look how small on disk it is”
It is js, it is always source code.
Except if it’s minified for production.
That is still source code, obfuscated but still source code.
Not sure about GreaseMonkey, but V8 compiles JS to an IL.
Nodejs has an emit IL debugging feature to see the emitted IL code.