this post was submitted on 30 Sep 2025
135 points (96.6% liked)

Programmer Humor

26628 readers
1145 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 26 comments
sorted by: hot top controversial new old
[–] WanderingThoughts@europe.pub 26 points 5 hours ago (2 children)

Solitaire these days has Xbox integration, XP, levels, achievements, collectibles, events, ads, payment system, subscriptions for making it ad free, cheats behind a paywall, ... It's a bit silly.

[–] QuazarOmega@lemy.lol 2 points 2 hours ago

You shouldn't feel alone just because you're solitaire

[–] Kolanaki@pawb.social 9 points 5 hours ago (1 children)

Next up: Lootboxes for Minesweeper.

[–] cupcakezealot@piefed.blahaj.zone 6 points 5 hours ago (1 children)

meanwhile pysol fan club edition has about 50 types of card games and takes 230 kilobytes of ram

[–] ripcord@lemmy.world 2 points 5 hours ago (2 children)

I like it, but kept running into weird bugs (and I think dependency issues) with different versions of python.

Kpatience for me.

[–] cupcakezealot@piefed.blahaj.zone 1 points 25 minutes ago

gonna try kpatience; i need a good one for my mum who plays microsoft solitaire all the time (i want to switch her since windows is losing security updates)

have you tried the flatpak pysol? that's what i have; installed through linux mint software manager and it works great.

[–] tux0r@feddit.org 1 points 4 hours ago (1 children)

Python is dependency hell.

[–] somerandomperson@lemmy.dbzer0.com 0 points 4 hours ago (1 children)

Unless you use Nix(OS)

Or Guix

Or similar systems

[–] tux0r@feddit.org 3 points 1 hour ago

Which are dependency hells.

[–] AceFuzzLord@lemmy.zip 22 points 7 hours ago (3 children)

Wait until you see the solitaire game I'll definitely 100% make after I finish this class on C I'm taking this quarter!

/s

Yeah, I would never want to make a game in C when things like Python or Godot exist.

[–] enbipanic@lemmy.blahaj.zone 1 points 36 minutes ago

O_o

I fear for the future of programming

[–] Asidonhopo@lemmy.world 3 points 3 hours ago

I suppose not a problem if you don't want any innovation in the engine of the game and just want to re-skin something someone else made.

[–] cmnybo@discuss.tchncs.de 35 points 7 hours ago (1 children)

You'll never fit the game in the boot sector of a floppy disk if you write it in python.

[–] boonhet@sopuli.xyz 9 points 5 hours ago (2 children)

Oh no, how will we play it on modern hardware if we can’t put it in the boot sector of a floppy disk

[–] tux0r@feddit.org 17 points 4 hours ago (1 children)

The main problem with modern hardware is that it needs to have an abundance of resources because of sarcastic questions like this. There is no reason why memory-efficient programming should be considered outdated.

[–] boonhet@sopuli.xyz 5 points 2 hours ago (2 children)

Yeah but pretty textures and detailed models are nice too. And maybe you want to use a scripting language for parts of the game to save a bunch kf dev time

That's not the same as an unoptimized game. I have games running at triple digit fps that require more memory and disk space than 10 year old me thought possible.

Also unused memory is useless. Caching things is good.

[–] ulterno@programming.dev 0 points 9 minutes ago

Also unused memory is useless

Unused memory means:

  • I can let updates continue in the background
  • I can open a web-browser on a second monitor
  • I can afford to buy less memory
  • I can run a server on the same computer, instead of having to buy another one to become a dedicated server
[–] stingpie@lemmy.world 2 points 1 hour ago (1 children)

Unused memory is not useless, it is just unused. If I want to pull up a guide on how to giggle the grables in my favorite game Grable Giggler, I would be very happy if I had unused memory which I can now use for my browser.

Also, smaller RAM usage generally correlates to smaller file size, which is very useful on computers with limited storage.

And finally, there's also low spec gaming and accessibility. Minecraft, at least prior to the microsoft acquisition, was a very low spec game. I wouldn't say it was optimized, but a game of minecraft took less ram than chrome. There was nearly no computers at the time which couldn't run minecraft. At the time of minecraft's early boom, kids were getting low-spec hand-me-downs, and so minecraft was one of the most open-ended games they could play. What I'm trying to say is that minecraft—and Doom for that matter—owe a large part of their success to low memory usage.

[–] boonhet@sopuli.xyz 1 points 1 hour ago* (last edited 1 hour ago) (1 children)

Unused memory is not useless, it is just unused

Yes, which means it's doing precisely nothing to improve your performance.

If I want to pull up a guide on how to giggle the grables in my favorite game Grable Giggler, I would be very happy if I had unused memory which I can now use for my browser.

Your operating system should just free up some memory for that. In fact, your browser could be in memory before you decide to launch it. That's the magic of caching, baby! I'm just saying, don't be afraid to use memory - people are already buying way more of it than they need. That doesn't mean you should be creating games with memory leaks! But e.g loading things into memory before they're used saves you loading from disk in the moment - which would be slow.

And finally, there’s also low spec gaming and accessibility. Minecraft, at least prior to the microsoft acquisition, was a very low spec game. I wouldn’t say it was optimized, but a game of minecraft took less ram than chrome.

Minecraft was made in Java, the JVM is literally one of the worst platforms for memory usage (running something in the browser is just about the only way to make it use more memory than Java), so that just proves my point: Optimizing down to the kilobyte is useless in 2025. It was already useless in 2010. Also, you'll be happy to know that Microsoft rewrote it in C++ to save memory, it's called the Bedrock Edition and it runs on cheaper hardware than the Java Edition!

In fact, the horribly memory inefficient platform, Java, greatly contributed to its success! First off, it was much faster for Notch alone (initially) to write it in Java compared to C. Secondly, it allowed for much easier modding.

and Doom

came out in 1993, when 16 gigabytes of memory would've cost 2,867,200 USD (175 dollars for 1MB is what I found online). Now it's 50 bucks. 40 if you have an older machine that runs DDR4 and 30 if you have a DDR4 laptop.

[–] tux0r@feddit.org 2 points 59 minutes ago (1 children)

Caching is a weird term for “just move the needless waste of space into another part of the computer”.

[–] boonhet@sopuli.xyz 1 points 54 minutes ago

I mean you can also just install a bare OS with no additional software, even a browser, and get by with 128 MB of RAM even in 2025. Then you're not wasting any space. It should also fit onto a 1 GB microSD card so no need to have any real storage.

[–] SSUPII@sopuli.xyz 2 points 4 hours ago* (last edited 4 hours ago) (1 children)
[–] db2@lemmy.world 4 points 4 hours ago

That's what she said

[–] A_norny_mousse@feddit.org 15 points 7 hours ago (1 children)

TBF I guess, it's the UI toolkits. I see this on Linux too - a "very small" app that does basically nothing except monitor a file for changes, takes many MB of RAM if it has a UI.

Since my RAM is almost never over half used, why not. Just make sure the OS swaps it out if something else needs a lot of RAM.

[–] ulterno@programming.dev 0 points 2 minutes ago

Yeah, even adding a default blank GUI, greatly increases memory usage.

I guess that's another reason to prefer CLI programs. They reduce the system resource you need to have free at any point of time to do whatever you need them to do.

In a condition when my computer is heavily swapping, I'd go with htop rather than plasma-systemmonitor