• prunerye@slrpnk.net
    link
    fedilink
    arrow-up
    39
    ·
    3 months ago

    I guess RAM is a bell curve now.

    • 32GB: Enough.
    • 16GB: Not enough.
    • 8GB: Not enough.
    • 4GB: Believe it or not, enough.
    • Artyom@lemm.ee
      link
      fedilink
      arrow-up
      26
      arrow-down
      1
      ·
      3 months ago

      I actually audibly laughed when Raspberry Pi came out with an 8GB version because for anyone who thinks 4GB isn’t enough probably won’t be happy with 8 either.

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        3 months ago

        I wonder what the hell they are doing with it? I mean I have the 3B with IIRC 1GB and I can use the desktop and run python scripts to fiddle with all the I/O ports and stuff, what do you do with a raspberry that needs eight times the RAM??

        I’m seriously curious!

        • boonhet@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          At that point you’re running some sort of server on it probably.

          For which, it’s not even the most cost effective hardware tbh. There are X86 based tiny PCs for good prices used

            • orangeboats@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              edit-2
              3 months ago

              Last time I asked around about this question, the answer was surprisingly “probably not much”! When a low-power x86 chip (like those mobile chips) is idling (which is pretty much all the time if all you are doing is hosting a server on it) it consumes very little power, about the same level as an idling Pi. It is when the frequency ramps up that performance-per-watt gets noticeably worse on x86.

              Edit: My personal test showed that my x86 laptop fared slightly worse than my Pi 3 in idling power (~2 watts higher it seems), but that laptop is oooooooold.

    • AusatKeyboardPremi@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      3 months ago

      I have experienced this myself.

      My main machine at home - a M2 Pro MacBook with 32GB RAM - effortlessly runs whatever I throw at it. It completes heavy tasks in reasonable time such as Xcode builds and running local LLMs.

      Work issued machine - an Intel MacBook Pro with 16GB RAM - struggles with Firefox and Slack. However, development takes place on a remote server via terminal, so I do not notice anything beyond the input latency.

      A secondary machine at home - an HP 15 laptop from 2013 with an A8 APU and 8GB RAM (4GB OOTB) - feels sluggish at times with Linux Mint, but suffices for the occasional task of checking emails and web browsing by family.

      A journaling and writing machine - a ThinkPad T43 from 2005 maxed out with 2GB RAM and Pentium M - runs Emacs snappily on FreeBSD.

      There are a few older machines with acceptable usability that don’t get taken out much, except for the infrequent bout of vintage gaming

  • aesthelete@lemmy.world
    link
    fedilink
    arrow-up
    37
    ·
    edit-2
    3 months ago

    The fact that electron both exists and is one of the most popular cross-platform development frameworks tells you everything you need to know about the current potato’d state of software development.

    • boonhet@lemm.ee
      link
      fedilink
      arrow-up
      11
      ·
      3 months ago

      The underlying issue is that nobody wants to develop using any of the available cross-platform toolkits that you can compile into native binaries without an entire browser attached. You could use Qt or GTK to build a cross-platform application. But if you use Electron, you can just run the same application on the browser AND as a standalone application.

      Me? I’m considering developing my next application in Qt out of all things because it does actually have web support via WASM and I want to learn C++ and gain some Qt experience. Good idea? Probably not.

      • aesthelete@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        3 months ago

        I have developed personalized tools as part of my job and I chose qt to write them in partially because if a company I work for would ever try to commercialize them, they’d have to either buy qt licenses or open source them.

        I cheat a bit though because I use qt through python.

    • Buddahriffic@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      3 months ago

      It’s like so many programmers never evolve past the “playing around with web dev stuff” days. The fact that JavaScript is one of the most used languages is appalling.

      The whole 1+1 = 11 meme made me laugh and then avoid JavaScript whenever possible, but I wonder if many others saw it and thought, “now I’ve gained more experience in JavaScript!”

      • aesthelete@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        3 months ago

        I will also never understand how JavaScript development has gotten so complicated with seemingly zero benefits. It takes minutes to do a “frontend build” and the output grows larger all of the time. I bumped into some Angular crap that was hundreds of megabytes somehow, and still AJAX fetched the same info 4x on page load because the “MVCC” or whatever it’s called didn’t even buy them the abstraction of using the same values multiple times on one page…

        • Buddahriffic@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          3 months ago

          Yeah it’s ridiculous with every small app needing to be packaged with a full DOM and maybe even an http server for all I know and what should have been a few kb ends up being 1000x that or more.

    • HStone32@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      3 months ago

      You know, I’ve always loved C and doing my own memory management. I love learning optimization techniques and applying them.

      But you know what? Everybody around me keeps saying I’m being silly. They keep telling me I won’t find any jobs like that. They say I should just swallow my juvenile preferences and go with what’s popular, chasing trends for the entire rest of my career.

      I don’t think you can blame people for trending away from quality software. Its clearly against the grain.

      • aesthelete@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        You know, I’ve always loved C and doing my own memory management. I love learning optimization techniques and applying them.

        That’s awesome, and honestly who knows what you’ll come up with if you’re given time to follow your passion there. Decades ago SCM was done through CVS and SVN and other pieces of garbage until Linus came out with Git which a main reason that it is so good IMO is its speed. Google Chrome arrived on the scene in a lot of the same way (of course now it’s as bloated a cow as any other browser, but at the time it was faster than anything available).

        I don’t think you can blame people for trending away from quality software. Its clearly against the grain.

        No definitely not. Electron is basically a creation of idiot middle management who insist that the web app and the app app be the same exact thing and be developed by the same group of understaffed, underpaid, underappreciated developers. So they worked out a framework to make it so they could change something in one place and have it reflected everywhere.

        But it’s still as potato as it gets.

    • joel_feila@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Back in the very early 2000s my dad went back to college. There he learne c++ but he also leatned that a great programer makes the program work ans keeps it small. Even bavk his teacher was complianing about newer programs taking up more and more ram.

  • Delilah (She/Her)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    24
    ·
    3 months ago

    I hate electron apps. Just make a website asshole, don’t bundle a whole chrome browser! The only one I’ll tolerate is ferdium, because having a message control center is kinda neat.

      • Delilah (She/Her)@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        You don’t comprehend just how easy it is to do GUI programming in Javascript. Like if C++ is a nunchuck and Bash is a cursed hammer and lisp is a shiv then when it comes to GUI programming Javascript is Vector’s control panel from dispicable me.

        • The Stoned Hacker@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          that’s fine, give me the hammer. I despise this increasingly pervasive online first mentality. I like native applications using native toolkits. They’re installed on my machine for a reason. I don’t want the clusterfuck of HTML, CAS, and JavaScript managing my interfaces; they’re horrible. Just because a monkey eating pop rocks can piss out a Pollock doesn’t mean i wanna buy it. I am absolutely willing to trade some UI/UX niceties for actual fucking applications.

    • foggy@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      3 months ago

      Also, massive security surfaces.

      Any music producer is familiar with 3rd party license managers like ilok that make you use their Shit-ass electron application that gets an update once every few years.

  • QuizzaciousOtter@lemm.ee
    link
    fedilink
    arrow-up
    10
    ·
    3 months ago

    I have no idea how people use so much RAM. I use a 16 GB machine for work and it runs perfectly. For the majority of the time I’m well below 8GB. And I do use Electron apps.

    Of course, I’m aware of the possible uses demanding more than 16 GB but I can’t believe this would be the case for a majority of the people.

    • ILikeBoobies@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      3 months ago

      The people who installed toolbars until half their screen was full are still around. Just now they keep 100 tabs open instead

    • skulkingaround@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      3 months ago

      With just a web browser, teams, and visual studio open my work machine sits at 95% usage of 16gb. Half the time my compiles can’t even finish without getting axed by the oom killer. SSMS is a hog too, I often have to close half my stuff to get to work right.

      Supposed to be getting an upgrade but my company is taking their sweet time.

    • kameecoding@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      I keep tabs open just in case I need it later, definitely faster to try to find right tab across 4 windows with 20 tabs each than just opening the site when I need it again

      • QuizzaciousOtter@lemm.ee
        link
        fedilink
        arrow-up
        3
        ·
        3 months ago

        Yeah, but those shouldn’t really influence memory usage too much unless actively used, right? I’m pretty sure browsers unload unused tabs from memory.

        I myself sometimes use quite a lot of tabs, although I have to admit it’s definitely not close to 80 tabs open at all times.

    • Lucy :3@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      3 months ago

      Not in my experience. The electron spotify app + electron discord app + games was too much. Replacing electron with dedicated FF instances worked tho.

      • UnityDevice@startrek.website
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        About 6 months ago I upgraded my desktop from 16 to 48 gigs cause there were a few times I felt like I needed a bigger tmpfs.
        Anyway, the other day I set up a simulation of this cluster I’m configuring, just kept piling up virtual machines without looking cause I knew I had all the ram I could need for them. Eventually I got curious and checked my usage, I had just only reached 16 gigs.

        I think basically the only time I use more that the 16 gigs I had is when I fire up my GPU passthrough windows VM that I use for games, which isn’t your typical usage.

      • acockworkorange@mander.xyz
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        I have a browser tab addiction problem, and I often run both LibreWolf and Firefox at the same time (reasons). I run discord all the time, signal, have a VTT going on, a game, YouTube playing… and I look at my RAM usage and wonder why did I buy so much when I can never reach 16 GB.

        While I agree electron apps suck and I avoid them… Whatever you guys are running ain’t a typical use case.

      • pat277@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Even on windows, its hilarious to compare the RAM Discord uses. I caught the native app doing 2+gb, and Firefox beating it by… 100mb? I didnt compare ram usage too hard on my Stram Deck though between Flatpak and Firefox, but I expect firefox to be a bit better with its addons/plugins, like it was on windows

    • Ziglin@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      I have 4GB on my fedora i3 laptop and I am indeed able to open signal desktop, discord and 2 Firefox windows.

    • jaybone@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Nah fuck it, let’s just keep putting some more bullshit in our code because we majored in Philosophy and have no idea what complexity analysis or Big O is. The next gen hardware will take care of that for us.

    • IsoSpandy@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Man i remember. I have 16GB And running windows I would run out of ram so fast. Now on linux, I feel like I am unable to push the usage beyond 8GB in my regular workflow. I also switched to neovim from vscode, Firefox from Chrome and now only when I compile rust does my ram see any usage peaks.

    • TimeSquirrel@kbin.melroy.org
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      We used to say 4GB is enough. And before that, a couple hundred MB. I’m staying ahead from now on, so I threw in 64GB. That oughtta last me for another 3/4 of a decade. I’m tired of doing the upgrade race for 30 years and want to be set for a while.

      I can literally trace my current Ryzen PC’s lineage like the ship of Theseus to an Athlon system I built in 2002. A replacement GPU here. Replacement mobo there. CPU here, etc.

  • Mwa@lemm.ee
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 months ago

    I remember all the windows users saying 16gb of ram is enough

    • loo@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      16 is still enough for me? I currently play RDR2 on high settings and QHD on arch linux and I always have minimum of 3 GB to spare

  • Blackmist@feddit.uk
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 months ago

    Apple: Enough!

    But you’ll have to buy a whole new laptop when it turns out that was a lie.

  • _stranger_@lemmy.world
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    3 months ago

    I think someone needs to update that old “if programming languages were weapons”. JavaScript is a cursed hammer.