this post was submitted on 30 Sep 2025
172 points (96.2% liked)
Programmer Humor
26628 readers
1520 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yes, which means it's doing precisely nothing to improve your performance.
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.
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.
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.
Caching is a weird term for “just move the needless waste of space into another part of the computer”.
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.