Login
You're viewing the functional.cafe public feed.
  • Quixoticgeekquixoticgeek@v.st
    Nov 13, 2026, 10:54 PM

    Software quality would improve greatly if developers were forced to work on a device with a 10 year old CPU, 25G of storage, and 2GB of ram. The amount of resources necessary to do the simplest of operations is just bonkers. Not everyone has infinite disc space, and a never ending supply of RAM.

    FFS.

    💬 40🔄 304⭐ 521

Replies

  • Tedtschundler@leds.social
    Nov 13, 2026, 11:41 PM

    @quixoticgeek
    In high school a friend commented that the best software is from people with the lowest end systems.
    It was related to some news at the time about some solo dev making something we liked on a 486 or 386 in the era of Pentiums. But it's a valid point still.

    It's particularly egregious with SDKs and such. Between Python, Rust and Platform IO builds and toolkits, I have a 300G partition in a laptop that feels quite small.

    💬 5🔄 6⭐ 33
  • 💬 1🔄 3⭐ 9
  • 💬 0🔄 0⭐ 2
  • 💬 1🔄 0⭐ 5
  • Nazonazokiyoubinbou@urusai.social
    Nov 14, 2026, 10:55 PM

    @gourd @tschundler @quixoticgeek I swear it has reached the point that even just browser adjacent things are a whole frigging OS just in themselves... I sit there waiting on my desktop with 12 fairly fast cores just chugging away for frigging ages as it pulls in all kinds of crazy libraries that web engines really shouldn't have but somehow everyone just got used to.

    💬 0🔄 0⭐ 3
  • 💬 0🔄 0⭐ 0
  • Nazonazokiyoubinbou@urusai.social
    Nov 14, 2026, 10:54 PM

    @tschundler @quixoticgeek I would argue there's a seriously tricky balance to be found between them actually. When you brought up 386 and 486 systems I immediately thought of Zone66 which was so custom-built that you couldn't even use it together with a standard memory manager (so basically you had to do a custom boot disk to play it because effectively nothing else would work at the same time as it.)

    I feel like there has to be a good balance between "doesn't have a lot, so works on good optimizations" and "doesn't have anything, so custom codes stuff so heavily that it doesn't run on systems with AMD processors since the dev had an Intel."

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 13, 2026, 11:46 PM

    @quixoticgeek

    10? My netbook specs: N270 ATOM CPU, 32 BIT, 1GB of RAM (1.5 with ZRAM),
    OpenGL 2.1 Intel iGPU. These should be the constraints. Oh, too slow
    for Rust, and hell for Node? Use Rust on amd64, drop that Electron
    crap, build lightweight Go TUIs for the netbook, or software like
    MuPDF or hell, Motif, which supports XFT just fine.

    💬 1🔄 2⭐ 9
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 1⭐ 6
  • 💬 0🔄 0⭐ 1
  • 💬 1🔄 1⭐ 8
  • 💬 0🔄 0⭐ 1
  • Nov 13, 2026, 11:51 PM

    @quixoticgeek I have optimized scripts which analyzed hundreds of gigabytes of data on my 4GB RAM Laptop when a normal amount was 8GB or 16GB. It was the worst software quality you could imagine (software isn't even an adequate name). I reduced practically all resource usage (CPU, RAM, disk access) by huge amounts and introduced modularity and version control to the code.

    💬 1🔄 0⭐ 7
  • Nov 13, 2026, 11:57 PM

    @quixoticgeek The person who was working on the code before and after me came back to me with a question. I couldn't answer it immediately so I asked: <Can you show me the code you're talking about? You probably have it open onscreen, right?
    <them> Yeah, I printed it out
    <me> Hahahahah
    <them> ...
    <me>... Wait, did you really?
    <them> yes.
    <me> oh sorry.

    Well, we went into his room and he had at least 10 pages of code taped to the walls of his office. And circled some stuff with colors

    💬 2🔄 4⭐ 15
  • 💬 1🔄 0⭐ 5
  • Nov 14, 2026, 12:07 AM

    @quixoticgeek There were huge improvements like 94% CPU time reduction for two function (10s each), 96% (468MB) reduction in wasted RAM for another function and more than 97% reduction in disk usage (loading time) for some applications.

    And I hadn't even addressed the fact that they used the CSV format for measurements which had 100GB collected in a day because I only worked on the analysis part, not the measurement.

    💬 0🔄 0⭐ 9
  • 💬 1🔄 0⭐ 0
  • Nov 14, 2026, 6:17 PM

    @BoydStephenSmithJr @quixoticgeek In hindsight I shouldn't have laughed at this. Of course there are valid reasons to use paper.
    I think this person had never learned about programming abstraction and standard tools (IDE and all the little digitsl tools that make reading code easier). They just tried to understand what I did and where overwhelmed by using multiple files in an object oriented approach.
    Before my refactoring it was 1-2000 lines of code with loops spanning almost the whole thing.

    💬 1🔄 0⭐ 1
  • Nov 14, 2026, 6:28 PM

    @Segebodo @quixoticgeek Yeah, been on both sides of that. I learned what cscope I know because I watched a senior use it to navigate the codebase while he was helping me. I've shown a couple of different abstractions to juniors that had gotten a bit too liberal with copy-paste.

    💬 0🔄 0⭐ 0
  • Nov 14, 2026, 12:05 AM

    @quixoticgeek I remember years ago reading a computer magazine letters page where someone complained about the inordinate size of an hp printer driver, and boasting how he had rewritten it at half the size, followed by 2 more contributions further reducing it to 20%, and 10% of the original. The final contribution claimed to have written it directly in assembly code, 17 bytes. The editor closed the topic at this point.

    💬 1🔄 3⭐ 7
  • 💬 0🔄 0⭐ 0
  • 💬 2🔄 0⭐ 3
  • 💬 0🔄 0⭐ 1
  • Nov 14, 2026, 5:52 PM

    @Segebodo
    Yup, I actually opened dev-tools on my personal website once and set speed to EDGE (“good” 2G) and it took almost 2 minutes to load.

    Why? Well there was this Base64-encoded complete FontAwesome font file... After subsetting tke font and some minor other optimizations it is 20s cold, 4s hot on EDGE now!
    @quixoticgeek

    💬 0🔄 1⭐ 2
  • Nov 14, 2026, 12:30 AM

    @quixoticgeek@v.st worst bit is the bloating
    i used to be able to open like 5000 tabs on firefox w like no ram or maybe 2gb ram
    ...nowdays i struggle w reaching 1000 even without either running out of ram and freezing for a while, or, w 50gb of zswap on nvme on top of the 14gb of ram (laptop), having slow and significant stutters all the time and filling THAT up TOO
    yes even w unload-on-low-ram and attempting manual about:unloads and about:memory freeing
    ​:jessica_sob:​

    also stuff like compiler toolchains taking half a gig by themselves

    but seriously, i did fill up 50gb of zswap somehow, just from firefox
    ​:neobot_this_is_fine:​

    💬 2🔄 1⭐ 0
  • Nov 14, 2026, 3:43 AM
    @6 @quixoticgeek > also stuff like compiler toolchains taking half a gig by themselves

    Nevermind actually building firefox itself.
    💬 0🔄 0⭐ 0
  • Nov 15, 2026, 4:13 PM

    @6 @quixoticgeek

    Install the Tab Suspender addon, or whatever it's called.

    It was MIT or Apache 2 licensed, a free one.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 2⭐ 1
  • 💬 1🔄 0⭐ 0
  • Nov 14, 2026, 11:47 AM

    @noisytoot @quixoticgeek Writing this on a Skylake can confirm. It can handle anything but the most computationally demanding tasks like 3D modeling or high end video games (forget running anything made in UE5). I did however need to upgrade it to 32GB RAM, mostly because of web browsers.

    💬 0🔄 0⭐ 2
  • Nov 14, 2026, 12:58 AM

    @quixoticgeek To put this in perspective: BIRD 3.x can hold an IPv6 route view for the entire topology of the DN42 volunteer overlay network (an Internet-within-an-Internet) in... 18 megabytes, on a conventional x86-64 PC, as I measured this week. I am told anecdotally BIRD 2.x takes even less. (Be aware BIRD's not perfect though either, it has problems of its own, but its RIB data structures are quite compact.)

    💬 0🔄 1⭐ 2
  • Nov 14, 2026, 1:25 AM

    @quixoticgeek sympathize with the sentiment, but I'd phrase it as: software would improve if management started caring about resource usage. Developers often recognize things and try their best, but management choose direction.

    💬 1🔄 2⭐ 7
  • 💬 1🔄 0⭐ 1
  • 💬 2🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 14, 2026, 7:00 PM

    @fishter_uk
    All I know is that a ~1% improvement each year was an unofficial goal of the C++ compiler team (from a conversation with one of the senior technical people). At a more general level within Google, efficiency was recognized as a major cost saver at Google scale -- the core pieces of software such as remote procedure calls, multi-threading servers, the distributed file system, etc. was written by and maintained by some of the best programmers in the company, and this was done from early days (Jeff Dean and Sanjay Ghemawat being the public figureheads for such work, but they were far from alone); the standard C++ libraries were often not used in favor of specialized libraries - and a fair bit of this work has made it into modern C++.
    Also, certain key things, such as internal point-to-point encryption, have not been removed or downgraded in the name of efficiency, but are recognized as critical pieces of the infrastructure and worth the "overhead".
    @danvolchek
    @quixoticgeek

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 2
  • 💬 0🔄 0⭐ 3
  • Nov 14, 2026, 4:12 AM

    @quixoticgeek Second Life coding in LSL is great practice; you’re limited to 16KB. The creativity I’ve seen in that space is awesome.

    💬 0🔄 0⭐ 1
  • 💬 1🔄 0⭐ 1
  • 💬 1🔄 0⭐ 0
  • Nov 15, 2026, 5:59 AM

    @renardboy @quixoticgeek We were headed there, 100%. But corporations and governments put in the effort, spent tons of time and money to fix the problems so they didn't cause massive issues.

    This government certainly wouldn't have done enough to fix it.

    💬 0🔄 0⭐ 1
  • Nov 14, 2026, 6:45 AM

    @quixoticgeek not work there but test their software there. We had one of these machines, on purpose, to test our web applications. With IE 6 too :D

    But the most important thing was the low resolution and the low RAM and CPU power. But working on such a Machine would not make me very productive (though i might work with VIM more :D)

    💬 0🔄 1⭐ 0
  • 💬 0🔄 0⭐ 1
  • 💬 0🔄 0⭐ 1
  • 💬 0🔄 1⭐ 1
  • Nov 14, 2026, 9:42 AM

    @quixoticgeek I recommended at one company that the developers receive the lowest performance machines in the organization rather than the best, and the look of horror was a delight to behold.

    💬 0🔄 0⭐ 2
  • Nov 14, 2026, 10:20 AM

    @quixoticgeek

    I do model development on a 12 yr old iMac with 16 gb of ram. For transport modelling, that is really, really modest. But it forces efficiency and memory conscious heuristics.

    A large model run on that machine takes a few minutes. Current commercial packages (ported 50 yr old stuff) take a day, at least according to the consultants using it.

    It took some math insights but it pays off.

    💬 0🔄 0⭐ 4
  • Nov 14, 2026, 10:52 AM

    @quixoticgeek Just for the record, the 13 year old 2013 MacBook on my kitchen table running Linux Mint Debian Edition 7 has a 3rd gen (Ivy Bridge) Intel Core i5 with 8 GB RAM and a 250 GB SSD, so a 10 year old machine is a lot more capable than that.

    4th gen Haswell CPUs were a substantial improvement in power efficiency.

    My 2017 MacBook running Windows 10 has a 7th gen Core i5, 8 GB RAM, and a 500 GB SSD, and is about to turn 10 years old.

    💬 0🔄 0⭐ 1
  • 💬 1🔄 4⭐ 5
  • Nov 15, 2026, 12:59 PM

    @Abstract_Mage_Annastasia@tech.lgbt @quixoticgeek@v.st I hate how, instead of making an actually usable cross-platform IDE with a built-in visual UI designer (a la visual studio) everyone just decided that all apps need to be a full web browser

    And by “everyone” I mean corpos, especially Microsoft since the only reason VS doesn't work on Linux is because they have a vested interest in keeping it a Windows exclusive (it doesn't even work under wine!)

    💬 2🔄 2⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 1
  • Annastasia (Unix Enjoyer)Abstract_Mage_Annastasia@tech.lgbt
    Nov 15, 2026, 6:55 PM

    @root @quixoticgeek with that im lucky that im not an ide person but i get it. the web browser thing is basicly about the culture of delivering product and making money over making well desinged tech

    💬 0🔄 1⭐ 2
  • 💬 0🔄 0⭐ 0