Hacker News new | ask | show | jobs
by danuker 1590 days ago
Wow! A simple 3D game in 425KB.

For me, google.com is 1.47MB. It makes you wonder what they put inside.

3 comments

You got me wondering what was going on - 425Kb seemed pretty high. I imagined there would only be around 50K of non-compressed source code. Turns out the 200Kb+ culprit is the texture atlas I nabbed off the internet: https://github.com/mrspeaker/webgl2-voxels/blob/master/res/m... - I'm only using a handful of cells out of that, I should chop it!
This is not the world we wished for, but this is the world we deserve.
Nah, we don't deserve it. We just don't have a choice at this point until someone is capable of creating an alternative to JavaScript.
Nah, we don't deserve it. We just don't have a choice at this point until someone is capable of creating an alternative to JavaScript.

Didn't you mean "an alternative to Google?"

Don't blame the tool for the (lack of) craftsmanship.

It has nothing to do with Google and everything to do with JavaScript.
The issue isn’t JS. Sites are bloated because cheap/lazy/dont care. Also because ads are bloating and payload size isnmt really thought about much.
The issue is JavaScript unless you're talking about people that use BMP image format instead of JPG/SVG.
You are asking for an alternative for browsers and 30 years of evolution. Be careful what you wish for :)
Way too many abstractions.