Xatolos@reddthat.com to Technology@lemmy.worldEnglish · edit-25 months agoQuake-like game made with JavaScript takes up just 13KB of storagewww.tomshardware.comexternal-linkmessage-square86fedilinkarrow-up10arrow-down10file-text
arrow-up10arrow-down1external-linkQuake-like game made with JavaScript takes up just 13KB of storagewww.tomshardware.comXatolos@reddthat.com to Technology@lemmy.worldEnglish · edit-25 months agomessage-square86fedilinkfile-text
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up0·5 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-squarecley_faye@lemmy.worldlinkfedilinkEnglisharrow-up0·5 months agoThe whole page transferred about 7kB and shows 18.2kB of ressources according to the debug tools.
minus-squareuranibaba@lemmy.worldlinkfedilinkEnglisharrow-up0·5 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-squaresum_yung_gai@lemm.eelinkfedilinkEnglisharrow-up0·5 months agoIt is js, it is always source code.
minus-squareKayn@dormi.zonelinkfedilinkEnglisharrow-up0·5 months agoExcept if it’s minified for production.
minus-squareTanoh@lemmy.worldlinkfedilinkEnglisharrow-up0·5 months agoThat is still source code, obfuscated but still source 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.