Meanwhile my Linux runtime still boots for 1G and Emacs is looking pretty good right now lol
Programmer Humor
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
Scintilla my beloved
(This is the text editor component in Geany and Notepad++)
Atom was kinda revolutionary in its plugin support and everything IIRC.
Well, now that Atom has been replaced by VSCode, which is also an electron app, the original Atom devs, or at least some of them, are creating Zed. Zed's written in Rust and uses a lot less memory.
Of course it's not yet as mature and they're trying to earn money by integrating AI and selling that as a service. BUT the AI is voluntary and even if you do want to use it, you don't have to pay to use their AI (which comes with a free tier if you DO want to use it), you can literally run your own model in ollama.
It's not perfect, but I love how little RAM it uses compared to VSCode and (shudders) the Jetbrains suite (which I normally love, but hate the RAM and CPU usage, it can drive my computer pretty slow)
still have the patch they sent for people who published packages. I made a theme no one but me used but still! Pre microsoft github was cool

It has become my favorite editor, even though I don't need or want the AI stuff. They do something that I do quite appreciate, that I wish other apps (looking at you, Firefox) would do:

In the AI section of the settings, the first thing is a toggle that turns off all AI features.
Didn't Sublime Text come before Atom?
it did, but this is about electron, which isn't relevant to sublime. sublime's plugins mechanism is a little different from atom, which is much more like emacs
Yes, but the plugin ecosystem really was pioneered by sublime and then ported over everywhere. A big reason atom was so successful is the plugin and themes were compatible.
I thought sublime text used textmate plug-ins at first?
They also developed their own Rust UI library and open-sourced it.
Spotify using several processes and GB of memory just play some music and browse a library is an abomination. WinAMP did most of that 20 years ago while using a fraction of the resources.
Discord similarly is an affront.
don't worry, this will all be solved now with incompetent vibe-coders, just give it a while
or you will look back to this with a nostalgic tear in the eye. one of these.
I run those thing in the browser, where they belong.
If you have premium, there's probably a better native client.
I use discord.com/app for exactly this reason. Its footprint is lower and the experience is almost exactly the same. And I can block things I don't like using ublock/other extensions, like animated reactions and those crazy new premium video profiles with explosions and confetti etc
God I wish discord just stuck to being a straightforward app without any of the fancy fluff that's just not needed. I hate the super-flashy things that obscure visibility and divert your attention so much
But it's what they sell to people, and a minority seems to really like so
Kate my beloved
My gripe with Kate is that whenever I open a file and get an LSP error it displays a pulsing warning notification in the lower left of the window. This might be okay except that I cannot read things if something is moving in my peripheral vision and there is also apparently no way to suppress this pulsing warning notification other than to disable the LSP features entirely. I want to use kwrite because at that point I might as well, but there is a long-standing bug in plasma that causes Kate to be defaulted to over kwrite for some file types despite my preferences!
I still prefer this to vscode, but I just need to vent a bit
Lutris is impressive when it comes to game launchers and RAM efficiency, especially when compared to the ones using Electron.

Kinda depressing what numbers are considered impressive these days.
Nobody's mentioning the system monitor taking 227MiB?
Jesus Christ, Steam at 1.4 GB and you are expected to run that WHILE PLAYING GAMES? That made my eyes pop outta my head.
There's no way that's normal. I'm pretty sure mine only uses a couple hundred.
For real, I remember when an entire game being over a 20 MiB made me hesitate to download it because it'd take a while.
The Half Life demo was 50MB. Took me 4 tries to get it over dialup. Played till the sun came up!
Who knows, maybe this dram scarcity will cause a change of heart and make people optimise more again. :)
The bubble will pop before that
If there's any upside to the entire situation, it's that perhaps, maybe, developers will again start paying more attention to optimization instead of just throwing more powerful hardware at it.
Some of the greatest games ever developed for consoles were great because the developers had to get extremely creative with the limited resources at their disposal. This led to some incredibly optimized games that could do a whole lot with those very limited resources.
You don't even need to go that far back. It blows my mind that the 360 and PS3 have 512mb of RAM. Halo 4, GTA 5, and The Last of Us did some impressive graphics work with 512mb.
tbf, the PC version of console games of the time ran like utter shit on computers with less than 2GB RAM and graphics cards worse than a Geforce 9800. A lot of people were still on WinXP, which was bloated compared to WinME-2000, but by 2006 it was fine.
Oh wow my mind is blown. Even more so that it's 256mb of DRAM and 256mb of VRAM separately.
We have really gone down hill and fast ;(
In my brain memory I find it hard to believe all the textures loaded at one time could ever be so small. Im amazed.
Best I can do is mandatory Lumen and Nanite. You can get almost-stable 60 fps on a 5090 with DLSS Performance and 3x frame gen, which should be optimized enough for anyone.
My game will sell for 80 bucks, 150 if you want the edition with all the preorder-exclusive content.
180 if you want to play before the day one patch that makes sure you’re can even finish the game.
Or you can wait two weeks and get it for 10 because the reviews were so bad we‘re happy to move any copies at all.
dude just fuckin
curl --data-ram @ram https://downloadmoreram.com/release/20.1
until curl rewrites in electon and you don't have enough ram to run it anymore
It's kind of an abomination when VsCode, supposed to be a lighter IDE, runs like dogshit compared to JetBrains, a fuckin' Java based IDE. Since when was Java light on RAM?
(Caveat: I haven't directly compared their memory usage, my experience is in very difference codebases for each)
Lmao this is quite frankly, horseshit, upvoted by people who have never used an IDE.
VScode is lightweight, snappy, and fast to open. VSCodium gives you all of that without any of the Microsoft. And even runs in a web browser.
It's not "horseshit" - I gave you a caveat precisely so that you can understand the limitations of my comparison, and so that you don't need to be so antagonistic.
lightweight
I launched VSCode fresh this morning. Just now, 4 hours later, I closed it and watched my system memory usage: 1.3GB. I am doing remote development, so there's a whole server process as well which is chomping a few GB. My old laptop repeatedly ground to a halt until the OOM killer woke up/I rebooted as its measly 32GB of RAM couldn't cope with two VSCode sessions (plus other normal apps) after a while.
And here I was thinking this was about emacs and lisp. Yougster complaining about not knowing how to quit Vi smh they have never experienced the horrors of emacs