416
submitted 5 months ago* (last edited 5 months ago) by Xatolos@reddthat.com to c/technology@lemmy.world

You can play it in your browser here.

you are viewing a single comment's thread
view the rest of the comments
[-] Lodra@programming.dev 2 points 5 months ago* (last edited 5 months ago)

Ok that is an impressive number but it feels a little disingenuous. You still need to something on your machine to interpret the js code, right? Is that included in the 13k? How much storage does that take?

EDIT: Well this is by far my most negative comment here. That’s almost entertaining. I’ll share a few more of my thoughts here rather than respond to individual comments. Maybe the context will make this more palatable.

First, I expect that the js language is doing most of the work here. Which makes sense. But having a browser installed as a prerequisite is an enormous dependency.

How would that stack up against other languages? Can I build a 13k binary using C? How about C#? I think Go is maybe the most interesting because the binary is entirely self contained by default. No external dependencies aside from the OS. I don’t think this or a similar game is viable with only 13k. Which is fine! I just that I find 13k is disingenuous.

That brings up the question of whether or not we should include the OS in the storage size. I would think not. But that’s only because the OS is (usually) the least common denominator when we talk about developing software. It’s generally assumed by default. But if someone wants to compare with a game that interfaces with hardware directly, then yes, we should absolutely include the OS as a dependency.

Now that I’m giving this more thought, I suspect that the devs wrote 13k of code + assets to make the game functional. Still impressive. But the more I think about this, the more meaningless that number gets. Does pre or post compiling matter more? What if we compress the thing as tarball? There’s just too many ways to manipulate this number.

[-] Godort@lemm.ee 19 points 5 months ago

Should the machine's operating system be calculated in the storage too?

[-] catloaf@lemm.ee 3 points 5 months ago

Is there a competition for smallest bootable 3D FPS?

[-] db2@lemmy.world 4 points 5 months ago

Your bios screen could be if you're brave enough.

[-] Gamers_Mate@kbin.run 3 points 5 months ago* (last edited 5 months ago)

Are games that boot from bios a real thing? would be interesting or an OS that has the exact dependencies to launch a single game aka minecraft launcher but from bios. Idk how practical that would be but its a cool concept.

[-] bruhduh@lemmy.world 2 points 5 months ago
[-] Gamers_Mate@kbin.run 3 points 5 months ago

Wow you did not disappoint. I think I will make a TIL post about playing doom from bios. I should probably get to that now before tomorrow or it wont count as a TIL.

[-] bruhduh@lemmy.world 2 points 5 months ago* (last edited 5 months ago)

There's whole category of software that runs without OS, look up "bare metal", for example you can run web server on raspberry pi pico and connect it to ps4 to have offline jailbreak capabilities, mind you, raspberry pi pico have 264kb of ram and 2mb of memory (up to 16mb) and dual core 133mhz cpu

[-] Lodra@programming.dev -1 points 5 months ago

Potentially. See my edit shove

[-] tsonfeir@lemmy.world 18 points 5 months ago

That’s irrelevant to the contest.

[-] admin@lemmy.my-box.dev 2 points 5 months ago

Sure, but important to put into perspective when you compare it to .kkrieger and other old school demos - the browser does a lot of heavy lifting here.

Having said that, this is a majorly impressive feat. I love it that this is still a thing.

[-] tsonfeir@lemmy.world 8 points 5 months ago

One could argue the OS also does some heavy lifting.

[-] Saik0Shinigami@lemmy.saik0.com 4 points 5 months ago

in the case of kkreiger, absolutely... Uninstall the wrong font in windows and you actually break kkreiger. So it's not even fully self-contained and relies on static windows assets to function.

[-] ICastFist@programming.dev 3 points 5 months ago

It also needs DirectX, which is another 70-100MB depending on the version.

[-] admin@lemmy.my-box.dev 0 points 5 months ago

No argument here, it clearly does. But I don't know of any bootloader games that have a comparable level of features. I suppose with DOS games and demos the amount of native code vs OS libraries would be almost negligible as well.

[-] ICastFist@programming.dev 6 points 5 months ago

Depending on how "pure" you want to get, you'd have to look into games that play from boot, so not unlike stuff you'd get from the SNES and older consoles.

[-] Coasting0942@reddthat.com 3 points 5 months ago

Everybody has a browser that runs JS. Only 13k has to be transmitted via floppy disk

[-] admin@lemmy.my-box.dev -1 points 5 months ago* (last edited 5 months ago)

EDIT: Well this is by far my most negative comment here. That’s almost entertaining.

For what it's worth, once you take down votes out of the equation, your comment isn't doing so bad relatively. Fuck the haters, focus on the positive.

[-] Lodra@programming.dev 2 points 5 months ago

Thanks for pointing this out. I keep looking back at this thread as new people grow annoyed at my comments 🙂.

At the time I writing this, there are currently 15 upvotes and 28 downvotes on my original comment. That’s clearly negative and that’s ok. But that also makes it the third most voted on and the 4th most upvoted comment in the entire post. Seems there’s a very split opinion in the community here. This is now officially entertaining!

[-] Lodra@programming.dev 1 points 5 months ago

Thanks for the happy comment. But it’s all good. People are allowed to not like my comment. I’m not exactly swayed by the downvotes but maybe I could be just wrong here.

[-] ASeriesOfPoorChoices@lemmy.world 0 points 5 months ago
[-] Lodra@programming.dev 1 points 5 months ago

It’s clear that you don’t agree with my original opinions. And that’s ok. But it really doesn’t seem so simple and clear. Take a look at the ratio of up to down votes.

https://programming.dev/comment/10313390

[-] ASeriesOfPoorChoices@lemmy.world 0 points 5 months ago

the only thing simple here is you.

[-] ASeriesOfPoorChoices@lemmy.world -2 points 5 months ago

you're one of those people who think that Windows XP shouldn't require Internet Explorer to run.

[-] Lodra@programming.dev 1 points 5 months ago
[-] ASeriesOfPoorChoices@lemmy.world -1 points 5 months ago

it certainly seems like it.

this post was submitted on 02 Jun 2024
416 points (97.7% liked)

Technology

59648 readers
1468 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS