The Forgetful CPU (Linux on M4)

(yuka.dev)

140 points | by signa11 13 hours ago

4 comments

  • sscaryterry 3 hours ago
    Imagine how big Apple would/could be if they embraced open hardware. They do have a moat here. macOS is so bloated, I hate it, but the hardware is just so much better than anything else.
    • MBCook 2 hours ago
      Apple is a vertical company. They don’t WANT to sell you hardware. They don’t want to sell you software.

      They only want to sell the whole package. You might as well ask the Catholic Church to start a rap music 8-track only record club. Same probability.

      The hardware is a means to an end, and nothing else to them.

      • willy_k 19 minutes ago
      • UltraSane 1 hour ago
        But Apple could make a lot of money selling Linux servers with their CPUs.
        • internet2000 53 minutes ago
          Why would they want to? They make even more money selling their own computers with their CPUs.
          • UltraSane 35 minutes ago
            The Server market is enormous with a much higher average selling price. It would make perfect sense for Apple to make servers if it meant more revenue and profit than they could make not doing it. There are rumors that Apple is planning a M8 based server in 2029.
            • toast0 6 minutes ago
              If Apple cared about the server market, they would have added syncookies into their TCP stack. Seems like they should have done it during the time of Xserve... it would have been somewhat straightforward to pull it in from upstream BSD back then. But they still haven't (last I checked).

              Apple doesn't have the business to business support organization to make this kind of thing work either.

            • podocarp 4 minutes ago
              Lol they don't even have tun tap in the kernel, can't even host VMs properly without extra setup or hacks
            • fragmede 33 minutes ago
              That's a helluva rumor. Apple tried b2b with Xserve, back in the day, but didn't have the stomach for it.
              • Wowfunhappy 3 minutes ago
                With the Xserve, all Apple had to sell was repackaged Intel systems—with an Apple markup. They had nothing special to offer on the hardware side.

                Now they have Apple Silicon.

              • boredatoms 22 minutes ago
                That’s because they tried integration with the rest of their SW ecosystem.

                If they just did motherboards with cpu/ram/pcie and let other OEMs build complete systems the story would be very different

        • bombcar 1 hour ago
          If they sell every CPU they can make there’s not much headroom to make more
    • mvkel 51 minutes ago
      Define big. They're one of the biggest companies in history. You're saying that if they appealed to 1% of the market that already uses Macs... what? And then they have to support these users?
      • whatever1 41 minutes ago
        A small percentage very loyal and very loud customer base has been the success ingredient of Apple for decades
    • palata 2 hours ago
      Is the hardware so much better, or is their integration superior? macOS can be bloated but still more efficient, right?

      I mean, the "so much better" in my experience is really the battery life.

      • Quothling 2 hours ago
        They are the only laptop company who makes a fanless laptop that never gets hot to touch with long batery life. I'm still on my m1 air with the smallest configuration you could get at the time. Yet it's somehow capable of matching my T14 i7 with 32gb og ram for most of the work I do, and it does it without getting hot or having it's fan sound like it's a fighter jet taking off. To be fair my t14 is a corporate windows machine, so it's not like it's a fair fight.

        I'd love to replace it with something like a framework or a tuxedo, but they all get hot to touch. Maybe I'm in the minority, but a laptop not heating up when you turn it on is one of the most important things for it. It doesn't matter much for work, because it'll sit in a dock anyway, but I rarely use my m1 air at a table.

        • throwaway202528 1 hour ago
          I was required to use a Macbook Air in my last job. I hated small things like the window management, the keyboard lack of delete, home, etc keys. There were ways to work around this. Cold aluminium in an aircon office though was no fun, and the keyboard lacked travel.

          For I came from almost a decade on Debian. I had become used to the ways of GNOME, I enjoyed GNOME 3 even and had no gripes about systemd.

          Now I am in Windowsland. This is hell. I have no filesystem and cloud works the exact opposite way it should pretending we all see the same thing. I cannot email an attachment without closing - why is this? The concept of a shared folder has changed to everyone sharing their 'personal drives' while having no user-facing audit on what is shared with whom and via what link. Somehow a 4-digit pin is as authorative as a password to everything but a network printer that demands passwordy login. At the sane time, windows lacks handy preset printing like mac or linux - its there but buried, like everything in windows, thus not handy. The sleep key wakes the laptop and bypasses all login security. Copilot cannot be turned off unless done so by an organisation admin. At the same time, trusty fallback productivity tools like VBA fail as there is no filesystem - productivity workers are cripled using their 'everything looks like a nail if all I have is a windows hammer tool'. Teams still isn't as good for simple chat as Windows Communicator was a decade and a half ago and there isn't another option in the windows stable in sight. A 10th gen Intel chip gets overpowered by this all every hour or two. Possibly triggered by Adobe Acrobat - software that no one needs - trying to install a further part itself again.

          Corporate Windows is a horror. How did it get so bad?

          • prewett 47 minutes ago
            Are you sure about ESC? I looked at MacBook Air pictures on DDG, and they all had an escape key in the upper left. I've never seen a Mac without one. If you're using it for VI, Ctrl-[ is also ESC (and avoids stretching your fingers).

            For delete, if you mean delete-under instead of delete-before (what the key labelled "delete" does), Fn-Delete is delete-under.

            Home/End are either Cmd-Up/Down (doc begin/end) or Opt-Up/Down (line begin/end) (I haven't used a PC in a while, so I can't remember what Home/End do)

        • II2II 41 minutes ago
          > it does it without getting hot or having it's fan sound like it's a fighter jet taking off.

          I have an M4 MacBook Pro. It gets hot. The fan kicks in, and it gets noisy. I can't say whether it is T14 noisy since I never heard one. As for the cool and fanless MacBook Air, my understanding is that Apple is quite aggressive with thermal throttling. That's perfectly acceptable, even desirable, under some workloads. Under other workloads, it is not.

        • whatever1 1 hour ago
          Try a Mac with corporate spyware installed. My company issued M2 pro was draining the battery in 3 hours while being super hot and noisy.

          I think eventually they pushed a spyware update that improved a bit the situation but not by a lot.

          Meanwhile my personal M1 Pro had truly full day battery life.

        • compounding_it 2 hours ago
          Same here. Have a Base M1 Air. Will trade that for M7 Base Air maybe if I can drag this one for a while. I can't go back to computers with noisy fans. It seems too last generation since the M1 launched.
          • selectodude 1 hour ago
            I really do not know when I will replace my five year old M1 Pro. I'm not even starting to begin to get to the point where I start thinking about replacing this thing which I'm frankly astonished by.

            I think the interesting part of that sort of success is that if/when this thing will start to lose a step (local inference would be cool, 16GB of RAM is starting to get a little tight, especially for rust builds and agentic programming), I really have no serious qualms about spending $5000+ on its replacement.

          • cuttothechase 2 hours ago
            On a base M1 air, running local inference (non tool calling).
            • chrisweekly 48 minutes ago
              please share your setup
              • cuttothechase 33 minutes ago
                LM Studio Qwen 2.5 7B Instruct (Q4_K_M GGUF) with metal offloading
      • mahboi 2 hours ago
        The Intel period of MacBooks allowed a more direct comparison. Don't think macOS itself is the differentiator vs Windows.

        But vs Linux, well even Linux on a non-Apple laptop tends to mean screwed up power management. The display system might be less efficient too, depending whether it's X11 or Wayland, and idk which one is the good one.

        • Rohansi 1 hour ago
          A significant portion of the Apple Silicon efficiency gains would have come from shifting away from discrete GPUs. At that time it was very normal for the integrated GPU to be minimal (slow) because people who need it get a discrete GPU. Things are very different now because we push far more onto the GPU now vs. back then, which made Intel and AMD scale them up out of uselessness. Now most people don't really need a discrete GPU because the integrated ones are fast enough to even handle some gaming.
          • mahboi 1 hour ago
            The majority(?) of Intel MacBooks didn't have dGPUs though. That was a higher-end option on the larger models. I also vaguely remember there being a big leap in iGPU performance with Intel Iris around 2013. I had a high-end MBP from work and wished I could perma disable the dGPU, cause I didn't need it and it just made the thing get hot.

            But yeah, the remaining people who needed dGPUs can now just use the integrated AS graphics, so they'll notice an even bigger difference.

            • Rohansi 52 minutes ago
              Skimming Wikipedia it looked like you get discrete graphics unless you have a MacBook Air or 13-inch MacBook Pro. A higher-end option, yes, but probably the more likely one that people actually had here.

              And yes, Intel Iris was a good leap forward for their iGPUs at the time! But I don't see any models with Iris and a dGPU, so if you got a model with the dGPU then you would be switching between a potato iGPU and the dGPU.

              • mahboi 31 minutes ago
                Oh yeah, I was thinking of 2015 and earlier. They used to have "IG" and "DG" models. https://everymac.com/systems/by_year/macs-released-in-2015.h... And I never wanted the 2016-2020 ones because of all the issues, so my personal MBP was a 2015 model until like 2024.

                > But I don't see any models with Iris and a dGPU, so if you got a model with the dGPU then you would be switching between a potato iGPU and the dGPU.

                Dang, didn't notice until you pointed it out. So it's a really good thing I got the 13".

      • adgjlsfhk1 2 hours ago
        their single core perf is just much better than anyone else
        • oso2k 2 hours ago
          Not just single core perf though. Very efficient idle TDP, efficient all core boost, efficient all core TDP, and efficient mid-high performance tier accelerator (GPU, NPU) TDP.
          • mahboi 1 hour ago
            And the benchmarks seem to understate this. That i9-9001THIKK doesn't matter when it thermal throttles a few seconds into a task. Are they testing these laptops inside freezers or something?
        • MBCook 2 hours ago
          They also seem to have the biggest memory pool attached to a GPU at a “reasonable“ price don’t they? There’s a reason people really want Mac Studios.
      • abrookewood 1 hour ago
        That is my exact take - new Mac Book Pro M5. Love the battery, like the hardware quality, don't care at all for the rest of it. MacOS is annoying.
        • chrisweekly 46 minutes ago
          nice that you can simply run your favorite OS (virtualized)
    • Select13 2 hours ago
      Apple is one of the biggest companies in the known universe. If every single person on earth who wanted to use Desktop Linux were to buy the most expensive Mac Apple sells in order to do that, the revenue would not be material relative to Apple's existing size. Please exit your bubble.
      • bigyabai 2 hours ago
        Who said anything about desktops? The ARM datacenter is being taken over by Nvidia's Grace and Vera CPU products. If Apple supported OpenBSD, Linux or Solaris, they could destroy Nvidia in CPU performance and kick Graviton and Ampere to the curb forever. But instead they've left the low hanging fruit as another trillion dollar market for Nvidia to eat up.
        • r_lee 1 hour ago
          they deliberately do not want to enter the server market. it is literally an entirely different thing than what they're doing right now. they can't do any of their vertical integration there, there's no moat for them.

          like Tim Cook said (quoting Steve I believe) - it's about knowing how to say no 1000 times so that you can say yes to the right thing once, and then put your all into that

          • mahboi 1 hour ago
            "like Tim Cook said (quoting Steve I believe)" haha. Let's hope the new CEO quotes Tim Cook on this.
          • Readerium 55 minutes ago
            Vision Pro would disagree
            • dhosek 26 minutes ago
              They have the resources to be able to do what Jobs described as “hobby projects” (he was referring to the Apple TV which definitely is the best streaming interface for video available, albeit one which is on the expensive side). They did kill their car project after spending a decade on it (and reportedly having thousands of people working on it).
        • GeekyBear 1 hour ago
          [flagged]
    • Select2 2 hours ago
      [dead]
  • PunchyHamster 3 hours ago
    Weird to buy machine with company actively hostile to anything open to run open stuff
    • inventor7777 2 hours ago
      Is Apple taking steps to purposefully blocking open stuff, or are they just pointedly ignoring it and continuing to develop new hardware? I am genuinely asking, I don't know myself.

      edit: speaking mostly about macOS here, mobile OSes are much more locked down

      • Dylan16807 2 hours ago
        For desktops and laptops, the latter. But for phones and tablets they do not want user control. And even where they do allow it, even a tiny effort in hardware documentation that would make it so much easier never happens. So it's quite hostile overall.
        • inventor7777 1 hour ago
          Yep, good point. Their mobile OSes are annoyingly locked down, that is for sure...
      • lmz 2 hours ago
        The fact that they still allow this would point towards the latter. They are quite capable of locking it down like they do the iPhones.
        • londons_explore 2 hours ago
          And I suspect they will lock it down in a year or two.

          It was only really open to ease the transition between intel and arm.

          • musictubes 1 hour ago
            Give it up. People have been predicting this for 15 years.

            You can’t have a development machine locked down like iOS. As long as the Mac is the development machine at apple it will need to be able to run arbitrary code.

            • londons_explore 1 hour ago
              It will still run arbitrary code... Within macos...

              But they'll remove support for other OS's

              • willy_k 11 minutes ago
                What support? Asahi had to fight to exist, especially early on when they essentially had to reimplement much of the graphics pipeline. And now its in mainline linux - short of a complete hostile lockdown of the bootloader, it’s not like they support other OS’s very much as is.
              • GeekyBear 1 hour ago
                The company making locked down laptops is Google.
            • r_lee 1 hour ago
              I mean it'd be pretty easy for Apple to just make a special version of the OS/bootloader/whatever for their internal use
              • internet2000 1 hour ago
                They could. They won't. Macs will never be bootloader locked, on that I'm confident.
      • rstupek 2 hours ago
        It’s the latter
    • novafunc 1 hour ago
      I had a bad experience with my Lenovo laptop. It had a firmware issue that caused the trackpad to become unresponsive after suspend and Lenovo never fixed it.

      Made the laptop miserable to use, so I went for a MacBook instead which wouldn't have such an obvious issue be unfixed because Apple has so few SKUs to support.

      Also went for it in part because I do not like Windows and macOS typically would save me when Linux support was lacking. Just had to hope for a quick port of Asahi Linux to become (unfortunately didn't happen for my M3, but thankfully it's been progressing recently).

    • procone 3 hours ago
      I think you might be forgetting where you are. They call it "Hacker News" for a reason.
      • mahboi 1 hour ago
        Yep. There's a post somewhere here about someone running Mac OS X on a Nintendo Wii. That's closed software on closed hardware.
  • polishdude20 2 hours ago
    I wonder if AI could make this work? Have there been any attempts to have AI do the work needed?
    • wmf 2 hours ago
      AFAIK the M4 and M6 reverse engineering is AI-assisted.
    • yjftsjthsd-h 2 hours ago
    • MBCook 2 hours ago
      So we get a good article finally on someone actually doing impressive hacking and the response is “give it up, let AI“?

      Where is the challenge or the fun or feeling of accomplishment in that?

      • bigyabai 16 minutes ago
        It's not an unsympathetic position. macOS' current direction is controversial; many people want an alternative. They see Linux less as a hacking curiosity and more of an escape hatch.

        Even with years of excellent, tireless reverse-engineering, Asahi's power management for M1 is not on-par with macOS, let alone what AMD/Intel chipsets get on Linux day-1. It's just inevitable that the hacking efforts will fragment into a fast-and-loose vs slow-and-steady mentality. And both of them will be equally right, since there is no official support for any of this hardware.