There were a number of exciting announcements from Apple at WWDC 2024, from macOS Sequoia to Apple Intelligence. However, a subtle addition to Xcode 16 — the development environment for Apple platforms, like iOS and macOS — is a feature called Predictive Code Completion. Unfortunately, if you bought into Apple’s claim that 8GB of unified memory was enough for base-model Apple silicon Macs, you won’t be able to use it. There’s a memory requirement for Predictive Code Completion in Xcode 16, and it’s the closest thing we’ll get from Apple to an admission that 8GB of memory isn’t really enough for a new Mac in 2024.

  • @_number8_@lemmy.world
    link
    fedilink
    English
    434 months ago

    imagine showing this post to someone in 1995

    shit has gotten too bloated these days. i mean even in my head 8GB still sounds like ‘a lot’ of RAM and 16GB feels extravagant

    • yeehaw
      link
      fedilink
      English
      104 months ago

      I chalk it up to lazy rushed development. Good code is art.

      • @Aux@lemmy.world
        link
        fedilink
        English
        -44 months ago

        That’s not true at all. The code doesn’t take much space. The content does. Your high quality high res photos, 4K HDR videos, lossless 96kHz audio, etc.

        • yeehaw
          link
          fedilink
          English
          3
          edit-2
          4 months ago

          But there are lots of shortcuts now. Asset packs and coding environments that come bundled with all kinds of things you don’t need. People import packages that consume a lot of space to use one tiny piece of it.

          To be clear, I’m not talking about videos and images. You’d have these either way.

          • @Aux@lemmy.world
            link
            fedilink
            English
            14 months ago

            All these packages don’t take much memory. Also tree shaking is a thing. For example, one of the projects I currently work on has over 5 gigs of dependencies, but once I compile it for production, the whole code based is mere 3 megs and that’s including inlined styles and icons. The code itself is pretty much non-existent.

            On the other hand I have 100KB of text translations just for the English language alone. Because there’s shit loads of text. And over 100MB of images, which are part of the build. And then there’s a remote storage with gigabytes of documents.

            Even if I double the code base by copy pasting it will be a drop in a bucket.

    • @Bjornir@programming.dev
      link
      fedilink
      English
      74 months ago

      I have a VPS that uses 1GB of RAM, it has 6-7 apps running in docker containers which isn’t the most ram efficient method of running apps.

      A light OS really helps, plus the most used app that uses a lot of RAM actually reduce their consumption if needed, but use more when memory is free, the web browser. On one computer I have chrome running with some hundreds of MB used, instead of the usual GBs because RAM is running out.

      So it appears that memory is full,but you can actually have a bit more memory available that is “hidden”

      • @Specal@lemmy.world
        link
        fedilink
        English
        44 months ago

        This is resource reservation, it happens at an OS level. If chrome is using what appears to be alot of ram, it will be freed up once either the OS or another application requires it.

        It just exists so that an application knows that if it needs that resource it can use X amount for now.

      • @derpgon@programming.dev
        link
        fedilink
        English
        44 months ago

        Same here. When idle, the apps basically consume nothing. If they are just a webserver that calls to some PHP script, it basically takes no RAM at all when idle, and some RAM when actually used.

        Websites and phone apps are such an unoptimized pieces if garbage that they are the sole reason for high RAM requirements. Also lots of background bloatware.

    • @Aux@lemmy.world
      link
      fedilink
      English
      -14 months ago

      You can always switch to a text based terminal and free up your memory. Just don’t compain that YouTube doesn’t play 4K videos anymore.

    • @Shadywack@lemmy.world
      link
      fedilink
      English
      34 months ago

      We measure success by how many GB’s we have consumed when the only keys depressed from power on to desktop is our password. This shit right here is the real issue.

    • @stoly@lemmy.world
      link
      fedilink
      English
      34 months ago

      You just have to watch your favorite tablet get slower year after year to understand that a lot of this is artificial. They could make applications that don’t need those resources but would never do so.

    • @mycodesucks@lemmy.world
      link
      fedilink
      English
      54 months ago

      Absolutely.

      Bad, rushed software that wires together 200 different giant libraries just to use a fraction of them and then run it in a sandboxed container with three daemons it needs for some reason doesn’t mean “8 Gb isn’t enough”, it means write tighter, better software.

    • @jas0n@lemmy.world
      link
      fedilink
      English
      2
      edit-2
      4 months ago

      Guy from '95: “I bet it’s lightning fast though…”

      No dude. It peaks pretty soon. In my time, Microsoft is touting a chat program that starts in under 10 seconds. And they’re genuinely proud of it.

    • @qqq@programming.dev
      link
      fedilink
      English
      2
      edit-2
      4 months ago

      I once went for lower CAS timing 2x 128MB ram sticks (256 MB) instead of 2x 256s with slower speeds because I thought 512MB was insane overkill. Realized how wrong I was when trying to play Star Wars galaxies mmorpg when a lot of people were on the screen it started swapping to disk. Look up the specs for an IBM Aptiva, first computer my parents bought, and you’ll understand how 512MB can seem like a lot.

      Now my current computer has 64 GB (most gaming computers go for 32GB) at the time I built it. My workstation at work has 128GB which really isn’t even enough for some workloads we have that use a lot of in-memory cache… And large servers can have multiple TB of RAM. My mind has been blown multiple times.