by scoopertrooper · 5y ago · 0 comments
Software developers often have to run several emulators (e.g. Docker Desktop, Android, and iOS emulators), hundreds of Chrome tabs, compilers, heavy 'ol IDEs, Microsoft freakin' Teams, and a bunch of other stuff concurrently. 16 GB is just enough for many workloads, but it's easy to see use cases in which would exceed that.
When did people become so helpless? I was offloading interactive workloads via X11 back in the 90s, and these days it’s to a near-instantly provisioned public cloud instance. If someone can’t get by in a pinch with vim and a command prompt, then I don’t particularly want them in my crew.
There”s a corollary to that old dictum, “a bad worker blames their tools”, and it’s “a good worker chooses good tools”.
Well back in my day we had to timeshare the punch card machine and our punch cards only had zeros. Ones were too wasteful and anyone who asked for them would have been fed to the lusers.
unfortunately I can't get rid of teams and Intellij at work.
I use Xfce on Linux and 32 GB of RAM are just enough to not encounter problems in my day to day job, imagine those poor folks using something like MacOS or Windows...
At home I have a laptop with 4gb of RAM, it's usable, I use it to watch YouTube videos and as a media player.
On Ubuntu the 4GB of ram are constantly used and the system also uses no-less-than 4gb of swap space (thanks fast SSDs for making my life better)
except for the JVM/electron based apps that I am forced to use, all the Linux native applications are as good as any other system.
Anecdotal, Firefox on Linux is the only incarnation of Firefox I feel comfortable using, I think it's between not great to terrible on other systems. I use WebKit based browser on other OSs.
difference being I can tune the OS to work as I intend and the developer tools are some of the best in their categories, that's not true for the other two.
MacOS is known for being slower and use more RAM on many developers task (docker, for example), but there are things you can only do on a Mac, iOS apps being one, and, honestly, I can't imagine using XCode with maximum 16 GB of RAM for the next few years.
You might develop on MacOS, but then you deploy the artifacts on some Linux box, of course because there is no MacOS server offering, but I wouldn't do it anyway if I had the option.
Windows as a server is not that bad either.
I've worked with all of them in the past 25 years, Linux desktop experience is not as polished as it could be, but for sure it's not slow or bloated in general.
Yes GNOME 40 is not great, GNOME 3 probably killed Linux on desktops, but I don't use it, so...
even Plasma looks super snappy compared to MacOS these days.
Claiming that Apple can double your RAM is a strong claim, that in my experience is not supported by any evidence.
Perhaps the feeling of Apple system being faster comes from the fact that there are only relatively recent Apple machines around and it's rare to see some 8 years old Apple laptop still in use, while my 7 year old laptop with 64gb of RAM costed as much as an M1 Pro but can still do its job relatively well because I can put a lot of things in RAM, reducing the pressure on the rest of IO subsystem (I feel I have to specify that power efficiency is an order of magnitude worse than an M1, if battery life matters to you, Apple is ahead of the competition right now)
But it's no secret that one of the strongest feature of Linux is giving new life to old systems.
I still remember when I upgraded from Snow Leopard to High Sierra and everything became slower, sometimes unusably so.
After 10.6.8 MacOS (best version of the OS I've ever used) has only got worse, in my opinion.
Anyway, I generally work for big corporates that don't give the developers the ability to spin up arbitrary cloud workloads from their laptops.
Not merely because their undisciplined code will be substantially more expensive to run, especially at scale, but also in particular because it’s correlated to being a useless towel in a crisis.
The thing is, I don't think a lot of businesses care about whether the software they create is bloated or not. Performance isn't valued as much as features or functionality. Teams for example makes repeated multi MB REST requests where websockets would probably be much more efficient. Until the business incentives are changed, I don't think we should expect much change (and maybe that does start with the developers).
- 24 Chrome tabs open with news
- 17 of Firefox
- Waiting for VMWare Workstation to finish an install of the new Fedora 35
- Intellij is compiling a Rust program
- Have Ableton live running in the background listening to a mix of last week
- A presentation on PowerPoint for next week that looks like it would use half the resources of AWS us-west-1
- CLion while trying to see why a C++ example does not compile and Visual Studio Code to cleanup a Cloudformation template....
Offloads the CPU and has the benefit that you have it exported aomewhere in case old plugins vanish, chaos happens etc.
(Also, I doubt you need hundreds of chrome tabs + heavy IDEs, a couple of tabs + <insert lightweight editor of choice> works just fine)
Yes, it would be possible to curate my tabs better, but I often have quite a few things on the boil at any one time and taking time out to carefully prune my tabs holds up delivery.
I actually tried to subsist on a 8GB M1 for a few months, I managed to survive, but context switching became painfully slow as I'd have to shut down large parts of my tool chain and carefully prune off browser tabs. It was a serious productivity drain.
It turns out that the heavy IDE is heavy for a reason, it provides useful capabilities! The kind of capabilities one needs as a professional software developer. When one is working on a foreign code base spanning thousands of files, it's genuinely handy to have some tooling to help you find your way around. VS Code tries, but it's generally pretty useless in my experience.
A friend recommended I try such a RAM diet, so I went from 64Gb to a 4Gb laptop. Unlike you, I've found it helped me focus.
So I've kept this laptop as a "productivity" laptop - when I work on a tight deadline, I use it, because there will be 0 risk of context switching :)
However, doing something as basic as loading up a large Java project (like Kafka) in Intellij would cause the the laptop to die a horrible death when it tried to resolve the Maven dependencies.
https://eclecticlight.co/2020/12/12/how-fast-is-the-ssd-insi...
What do you do for a living?
Why should ? We don't run PC emulators or MacOsX emulators to develop SW. Only Android and iOS are not able to function as real OSs.
With root, Android could even make a decent host platform for doing development, but that doesn't obviate the need for emulators and virtualization systems.
That reality is part of the problem the parent wrote about...
Also too: Next time people complain about JS, Java, Electron, etc? Remember this.
Literally Teams is one of them. Well, it is dropping Electron in the future.