- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
“Program is slow? Just get better hardware, brah!!! It’s cheap, bruh!!!”
Fuck you and anyone that thinks like that
It’s truely a sad norm
Lazy devs not removing old non functional commented code and background code additions ?
Though I do get it if they don’t want to remove the old code if their employer is an asshole
That’s not why. It’s the dependency trees that run a dozen layers deep and end up importing “isEven”. If you’re building a react app odds are good you’ll import way more code than you ever write yourself.
And no one should be leaving commented-out code in their app, that’s what source control is for.
Is this the appropriate point to reference the suckless community? I mean, that’s THE point of the movement…
Memory is cheap and data sells enough to many parties. Most apps are just store front for Ads and data collection.
No wonder why open source apps are quite light.
Remember that day when GDPR dropped and website suddenly started loading much faster.
Duh, it’s because more and more code is ran remotely. Wait…
Did my husband made this meme? Because he is constantly saying this 😂😂😂😂
Oh, they have new functionality. It’s all in the back end, detailing everything you do and sending it to the parent company so they can monetize your life.
Most resources are not consumed by wonky code or dependencies. Most resources are consumed by images and sounds.
Surely it depends on the specific software.
Every decent piece of software has crap loads of resources: icons, texts, translations, manuals, sounds, fonts, etc. Even hello world app contains at least one resource - “hello world” string and what’s funny is that executable meta data required by operating systems and the string take more space than the actual code to print this string.
I imagine the ability for an app to watch me take a shit consumes about the same resources regardless of platform.
Performance/optimisation wise is an environmental catastrophe…
Because companies give zero fucks. They will tell you they need tons of IT people, when in reality they want tons of underpaid programmers. They want stuff as fast and cheap as possible. What doesn’t cause immediate trouble is usually good enough. What can be patched up somehow is kept running, even when it only leads you further up the cliff you will fall off eventually.
Management is sometimes completely clueless. They rather hire twice as many people to keep some poorly developed app running, than to invest in a new, better developed app, that requires less maintenance and provides a better user experience. Zero risk tolerance and zero foresight.
It still generates money, you keep it running. Any means are fine.
Ironically the management that does have a clue often is hamstrung somewhere up the chain.
It’s all because of Electron, unnecessary libraries, and just bad coders. Asus Armoury Crate weighs a lot and is so slow, but it’s basically a simple app. Total Commander has much more features, but it’s fast, lightweight, and consumes 9 MB of RAM.
I’ve said this on reddit before, but once for a joke I tried to make a windows program to play doot.wav during October at random, and tried programming it on Linux.
Sinds playing audio and working with the system tray was tricky, I ended up with electron.
So yeah, an atrocious 120 mb application to play a 6kb wav file with a
Math.random()
. I don’t remember the memory consumption, but it was probably just as gross.Which faang company are you sr. engineer at?
Once I wrote an annoying program adding acceleration to the mouse cursor, so it was difficult to click any UI item. It was written in Object Pascal with Win API and weighted 16 KB. And I think in C it would be even smaller.
I remember there was a pretty funny prank program that would make the user’s mouse pointer leave behind little poops on the screen at random.
I’d argue that deploying from one codebase to 3+ different platforms is new functionality, although not for the end user per se.
I wish though that more of the web apps would come as no batteries included (by default or at least as a selectable option), i.e. use whatever webview is available on the system instead of shipping another one regardless of if you want it or not.
That’s how a bunch of apps broke when M$ got rid of explorer
But if your tool chain is worth anything the size of each binary shouldn’t be bigger. To oversimplify things a bit: it’s just #ifdefs and a proper tool chain.
In the web development world on the other hand everything was always awful. Every nodejs package has half the world as dependencies…
It’s nearly all just using a whole library instead of the specific single function thats actually required, because few people are actually writing any code these days.
Why are you asking? Are you trying to prematurely optimize these apps?
They only came out 10 years ago. If we optimize now, how will we integrate an AI chat agent feature next year?
Why does notepad requires 320 GBs now?
Certainly not for running an LLM on all your files to figure out which ads to show you in the start menu. Why would you even imply something like that?
*shifty eyes* Um yes