I was about to post something like that, and hit electron apps and all that. Thanks OP.
No, devs don't optimize unless there is a real incentive. Coding speed, eayse, portability (electron, or whole browser+nodejs packaged as an executable) will do
A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The most popular seem to be lighthearted clever little truths, hidden in daily life.
Here are some examples to inspire your own showerthoughts:
If you made it this far, showerthoughts is accepting new mods. This community is generally tame so its not a lot of work, but having a few more mods would help reports get addressed a little sooner.
Whats it like to be a mod? Reports just show up as messages in your Lemmy inbox, and if a different mod has already addressed the report, the message goes away and you never worry about it.
I was about to post something like that, and hit electron apps and all that. Thanks OP.
No, devs don't optimize unless there is a real incentive. Coding speed, eayse, portability (electron, or whole browser+nodejs packaged as an executable) will do
Tbf software is bloated because higher ups who don't use computers besides microsoft excel tell programmers to not optimize.
If it gets the job done, don't spend anymore hours on it. Perfection doesn't bring any more revenue. Less rewards for the effort they say. Incentives are not there for optimization .
The only way to reduce software bloat is to uninstall bloated software and replace it with non-bloated software.
Nah, you'll get 8GB and swap on nvme. Or, you'll get to rent a terminal server slot for just $30 a month.
If you've ever watched cinema sins (or related videos), hahaha hahahaha...haha (no offense meant but it did make me do that laugh in my head is all)
Mean I wish it would but programmers aren't going to be more memory efficient due to hardware prices unfortunately.
The laugh was in good nature, not laughing at you but the concept of a company being efficient for hardware costs, mean technically I guess games were otherwise we'd wait a half hour for a render but for the most part as long as it works without that half hour render it's probably fine with settings adjustments.
They'll just make things with current specs in mind for longer...well once they realize people can't afford better hardware.
Don't blame programmers, they are (generally) nerds who would spend more time optimising than developing if allowed. The problem is companies want speed in development, that's why you get electron apps- you build it once and deploy on web, mobile and desktop. Who cares if they hog GBs of RAM
Source: my professional experience
Naaaah, you are just going to have to run it in the cloud optimised by AI for the low low price of both your kidneys so Bezos, Mark and Elon can continue partying.
It still costs more to rewrite all your existing code sooo no.
Linux FTW
Well, snaps and flatpaks are not exactly size and memory efficient 😩
But ZRam is nice 💟
One of those little truisms folks forget is that optimising software takes a LOT longer than making something that just works.
🤣 Nah, they'll enforce mandatory cloud computing.
You'll just have a "terminal"
You do know you would need more RAM in that case right ?
It’s crazy that people don’t see this is where computers are heading.
The day tech bros realized they could squeeze recurring monthly subscriptions out of you for basically increasingly banal shit the writing was on the wall. The end game is that you have a chromebook with 800 subscriptions to streaming services for your os, music, movies, tv, games, image editing software, music DAWs, plugins for both the aforementioned softwares, subscriptions for hardware associated with the software (eg drawing tablets or midi keyboards), etc but covering every niche you can possibly think of and not just graphic art and music.
And when you bitch about it tech bros and weird alphas and young zoomers who were raised on this ecosystem and indoctrinated by it will go “well you see it’s fair because updates cost money to develop” as if the old system of expecting bug fixes and security patches to be free but not necessarily feature updates was unfair. Like if I buy a car and it’s fucked up I expect it to be fixed for free but I don’t expect them to feature match the next model year.
Tech workers are disproportionately high paid and so whiney when they have to provide even a modicum of support because then they have to potentially cut into that disproportionate high pay. Like “oh no i make 80-150,000+ a year but if i support this I’ll have to work more without generating sales and will maybe only make 60-130,000+. The horror!” fuck those libertarian shitstains that are literally overthrowing an entire government (and possibly more) with technofacism so that they can justify their “I know python, I should be able to earn as much as I want, fuck ethics, I never emotionally matured past 16” bullshit
Username checks out and i love it
Wouldn't that be nice! Yeah I think it'll totally work.
Hey, I think I see someone right now, they're switching from writing in Python to writing in assembly! "Hey buddy, don't forget to clear that register! And don't forget you'll need to write this all over from scratch to get it to work on any other platform!"
I'm currently running Fedora Linux with Firefox and YouTube opened up. The whole system uses ~4GB of memory. That's totally fine and I couldn't care less about what Microsoft is doing with their OS.
With that said, I don't think we'll see a lot of optimizations in commercial software. Maybe a few here and there, but a lot of developers nowadays don't even know how to optimize their code. Especially people working in web development or adjacent frameworks. Let's just throw hundreds of npm packages into one project and bundle them up with webpack, here's your 12MB JavaScript - take it or leave it. Projects like this aren't the exception, they are the norm.
Even if the devices that can run that code without running out of memory get more expensive, companies will just pay for those and write them off on the taxes. And if not, more apps will just get pushed into the cloud.
Not when AI is writing the code.
Maybe it'll write native apps instead of garbage web/electron/chrome apps
Narrator:
'It didn't'
There's plenty of "unbloated" software available. It's just not on Windows.
Which unbloated browser do you use?
(This isn't a dig or a gotcha, I'm serious, I'm looking to switch browsers)
Firefox currently, though with recent AI related announcements, I’m shopping for replacements. Maybe Iceweasel or Waterfox, have to investigate.
I keep Opera around as a back up option as well though not sure if it’s suitable as a daily driver.
Shouldnt Firefox or a Fork oft Firefox Mike Waterfox or ZenBrowser be fine?
Michael Waterfox is pretty chill yeah
Not likely. I expect the AI bubble will burst before those software optimization gears even start to turn.
Even returning to JVM languages would be huge over the current js based electron slop. Things are so bad "optimized software" doesn't need to mean C++ or Rust.
Not just that all of their ai slop code will be more unoptimized
No, everything will just become subscription based.
And powered by the cloud
Why is this painful truth not the top comment? Maybe people are still hopeful after all the time?
It's not just garbage software. So many programs are just electron apps which is about the most inefficient way of making them. If we could start actually making programs again instead of just shipping a webpage and a browser bundled together you'd see resource usage plummet.
In the gaming space even before the RAM shortage I've seen more developers begin doing optimization work again thanks to the prevalence of steam deck and such so the precedent is there and I'm hopeful other developers do start considering lower end hardware.
Linux Mint Cinnamon is pretty easy to move to.....
As someone who recently made the switch with zero Linux experience, I completely agree.
Just like the early days of programming when you really had to manage your memory, often down to the last bit. Those were the days when programming was more difficult. Now it's mostly just point and click for middle-schoolers.
I'm presuming you know nothing about programming because this is complete and utter nonsense.
A ZX-81 had 784 bytes of RAM. And no secondary memory.
Well, the point and click part was a bit extreme. Still true in some rare cases, but actual programming still requires a keyboard.
However the RAM thing is interesting. Haven't actually written any code in the 70's and 80's, but what I've heard from people who did, RAM was a huge bottle neck. Well, pretty much everything was. Even the bandwidth between your terminal and the mainframe was a bottle neck that made you suffer.
Back in those days, programmers were painfully aware of the hardware limitations. If you wanted your code to run within a reasonable amount of time, you absolutely had to focus on optimizing it.
It's not a "bit extreme" its absolute nonsense
It's a really nice idea, but bad developers are already so deep in the sunk cost fallacy that they'll likely just double down.
Nobody reassesses their dogma just because the justification for it is no longer valid. That's not how people work.
there is no “shortage” just capitalism testing the limits of various bubbles.
You fool, humans are flexible enough to get used to slow experiences. Even if the average user needs to have discord, slack, 100 chrome tabs, word and any other electron app opened simultaneously, he will just go through his work. He may not be happy with it but still continue without changing his habits.
But to be honest, I goddamn hope you are right!
no, they don't care about users or if they're literally cooking ram, they'll keep it bloated, and probably make it more bloated
The "shortage" is temporary and artificial, so that's a hard NO. The ram shortage doesn't present any incentive to make apps more efficient because the hardware and software that is already in people's homes won't be effected by the shortage and people who currently use the software won't be affected by the shortage. The very small percentage of people that will be affected by the temporary shortage wouldn't justify making changes to software that is currently in development.
There's no incentive for software companies to make their code more efficient until people stop using their software so stop using it and it will get better. Just as an example Adobe reader is crap, just straight up garbage, but people still use it so the app stopped getting improvements many years ago. Then Adobe moved to a subscription based system, and cloud service for selling your data but guess what, it's still the same app that it was 10 years ago, just more expensive.