Xatolos@reddthat.com to Technology@lemmy.worldEnglish · edit-21 month agoQuake-like game made with JavaScript takes up just 13KB of storagewww.tomshardware.comexternal-linkmessage-square89fedilinkarrow-up1493arrow-down112file-textcross-posted to: retrogaming@lemmy.worldgames@lemmy.world
arrow-up1481arrow-down1external-linkQuake-like game made with JavaScript takes up just 13KB of storagewww.tomshardware.comXatolos@reddthat.com to Technology@lemmy.worldEnglish · edit-21 month agomessage-square89fedilinkfile-textcross-posted to: retrogaming@lemmy.worldgames@lemmy.world
minus-squareuranibaba@lemmy.worldlinkfedilinkEnglisharrow-up27·1 month 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-up2arrow-down1·1 month agoIt is js, it is always source code.
minus-squareKayn@dormi.zonelinkfedilinkEnglisharrow-up3·1 month agoExcept if it’s minified for production.
minus-squareTanoh@lemmy.worldlinkfedilinkEnglisharrow-up5·1 month agoThat is still source code, obfuscated but still source code.
minus-squareStarDreamer@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·1 month agoNot sure about GreaseMonkey, but V8 compiles JS to an IL. Nodejs has an emit IL debugging feature to see the emitted IL code.
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.