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

Technology

59440 readers
3623 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
 

You can play it in your browser here.

top 50 comments
sorted by: hot top controversial new old
[–] mPony@lemmy.world 96 points 5 months ago (10 children)

On another forum, I was complaining about how Microsoft was planning to remove WordPad from Win11. I was advised that installing OpenOffice or LibreOffice was an appropriate replacement. I replied that WordPad was only 3 megs large, as opposed to the recommended replacements, which are decidedly larger.

I guess not everybody appreciates tight code, but I surely do. Things like this are amazingly impressive.

[–] sugartits@lemmy.world 106 points 5 months ago (3 children)

Appreciates tight code

Runs Windows 11

Pick a lane, son.

[–] MazonnaCara89@lemmy.ml 34 points 5 months ago

Appreciates tight code

Proceed to run a 13KB Javascript game in a browser.

[–] bruhduh@lemmy.world 20 points 5 months ago (1 children)

Brother, look up kolibri os, then you'll see some TIGHT code

[–] sugartits@lemmy.world 13 points 5 months ago

AmigaOS 1.3 or bust.

I will die on this hill.

[–] SnipingNinja@slrpnk.net 4 points 5 months ago

Menuet OS it is for me

[–] MazonnaCara89@lemmy.ml 43 points 5 months ago

Anyway don't install OpenOffice for any reason, just pick libreoffice or onlyoffice. OpenOffice doesn't get a functional/security/compatibility update since 2014.

[–] Dark_Arc@social.packetloss.gg 21 points 5 months ago (6 children)

I don't particularly care about code size as a user or as a programmer.

Hard drive space is the cheapest thing you've got on a computer.

You could always run gentoo and use -Os ... that can make things a lot smaller but also slower.

[–] ICastFist@programming.dev 24 points 5 months ago (18 children)

Hard drive space is the cheapest thing you’ve got on a computer.

I hate this "storage is cheap" mentality, it's a cop out for being wasteful without a reason. "Gas is cheap" was common up to the early 1970s, until it wasn't anymore. "Freshwater is cheap", until it isn't anymore.

load more comments (18 replies)
[–] lolcatnip@reddthat.com 5 points 5 months ago* (last edited 5 months ago)

Sometimes a program is slow to start up because it's so boated that just loading it from the disk takes multiple seconds. Wasting a few kB doesn't hurt anything, but if you're doing it thousands of times in one program, your users are gonna have a bad time.

load more comments (4 replies)
[–] IllNess@infosec.pub 7 points 5 months ago (1 children)

I just looked at how big LibreOffice Writer is, 210 MB as a portable app... Wow...

AbiWord Portable is probably the smallest and even that is 15 MB installed...

load more comments (1 replies)
load more comments (6 replies)
[–] altima_neo@lemmy.zip 77 points 5 months ago* (last edited 5 months ago) (4 children)

Reminds me of kkreiger, an fps with impressive graphics and sound for the time, that weighed in at 96KB.

https://youtu.be/2NBG-sKFaB0

[–] confusedpuppy@lemmy.dbzer0.com 23 points 5 months ago (1 children)

A long time ago I came across a game that was part of a 1mb challenge. It's called A New Zero. I played it quite a lot, just flying around and dive bombing boats was entertaining enough for me.

I was impressed with 1mb but 13kb and 96kb is pretty amazing. I really enjoy seeing stuff like this.

[–] Gamers_Mate@kbin.run 5 points 5 months ago

Nice I have been thinking about doing a either an 8mb or 5mb gamejam challenge but I wasn't sure if 5mb would be to low but if there are 1mb challenges I guess it does not seem to impractical. Also I am going to test that game out in wine it looks interesting.

[–] dustyData@lemmy.world 17 points 5 months ago (1 children)

kkreiger is more impressive to me, because it creates itself on execution time. While this 13kB game is willfully ignoring the fact that the average web browser today is already a 2GB behemoth. While kkeiger is pure C++ and it does the whole thing, including the game engine and sound processor and everything else.

[–] altima_neo@lemmy.zip 4 points 5 months ago* (last edited 5 months ago) (1 children)

Is definitely not pure c++. It's making use of direct x and even fonts available in Windows to create textures.

load more comments (1 replies)
[–] mPony@lemmy.world 15 points 5 months ago

kKrieger was always kind of amazing to see. Even understanding a little bit about how the game works, it's still kind of mind-boggling

[–] Corkyskog@sh.itjust.works 13 points 5 months ago* (last edited 5 months ago) (2 children)

This is crazy!

I have so many questions, but lack the technical know how of how to ask them.

[–] Coasting0942@reddthat.com 37 points 5 months ago (1 children)

Instead of actually storing images, sound files, maps, etc, whole program relies on algorithms computed at runtime. Level generated automatically, sound follows a set math pattern with randomization, etc etc

Benefits of less file size but more processor requirements

[–] wagesj45@kbin.run 8 points 5 months ago

Oh yeah. I can remember back in the day it could take quite a bit to compile and start these things, especially if you were running at higher resolution and detail values.

[–] altima_neo@lemmy.zip 16 points 5 months ago* (last edited 5 months ago) (1 children)

Basically it's all procedurally generated assets. It takes a long time to start to because it has to make all it's textures and sound effects.

Check this video out by Nostalgia Nerd

https://youtu.be/bD1wWY1YD-M

load more comments (1 replies)
[–] dohpaz42@lemmy.world 21 points 5 months ago (2 children)

How much of that is third-party libraries, and/or third-party hosted? Obviously the assets (images and music) aren’t being counted.

[–] cley_faye@lemmy.world 39 points 5 months ago

The whole page transferred about 7kB and shows 18.2kB of ressources according to the debug tools.

[–] uranibaba@lemmy.world 29 points 5 months ago (4 children)

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"

load more comments (4 replies)
[–] Gamers_Mate@kbin.run 13 points 5 months ago

This is amazing for only 13KB.

[–] Teknikal@lemm.ee 8 points 5 months ago

And I was blown away the ps1 game Vagrant Story turned Into 90mb file as a chd.

That said one of the games I enjoyed most even when I had an Amiga was a 48k ZX Spectrum game called Chaos.

[–] ace_garp@lemmy.world 5 points 5 months ago

I did not know that I needed loderunner-quake in my life.

Thanks for posting.

load more comments
view more: next ›