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

Technology

59674 readers
3817 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.

you are viewing a single comment's thread
view the rest of the comments
[–] mPony@lemmy.world 96 points 5 months ago (39 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.

[–] Dark_Arc@social.packetloss.gg 21 points 5 months ago (24 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.

[–] MonkderDritte@feddit.de 1 points 5 months ago* (last edited 5 months ago) (3 children)

What was it again, 1 critical bug every 1000 loc?

That's why, code as much as needed but as less as possible.

Of course not measured in KB, because readable code takes a bit more space than clever hacks.

[–] frezik@midwest.social 3 points 5 months ago (1 children)

Code is rarely the biggest thing in these programs. You want textures that don't look stretched and pixelated at 4K? That's going to cost you.

Look in any game directory. There's probably a one big file--sometimes a few big ones--in there that you can rename to .zip and unpack it as one. It will dump all the textures/sound effects/etc. in the game, but have zero code. It will be something like 70-90% of the game's entire space.

[–] MonkderDritte@feddit.de 1 points 5 months ago

I agree and disagree.

Yes, in Games. There, the longer the more, duplicated assets too (like, all the data in every level package, even though every level only needs 10% of the data). Because user storage is cheaper than optimization.
Sometimes in tools too, often crappy tools with abundance of animations. But usually it's cheaply made software in a framework dragging lots of boilerplate with it. There it's loc again.

No, not in office suites and Wordpad.

Btw, why is vector graphics so rarely used for simple icons?

load more comments (1 replies)
load more comments (21 replies)
load more comments (35 replies)