11 comments

  • kylec 3 hours ago
    This is a very silly restriction, at least to apply uniformly to all Macs. I think if you buy a more powerful Mac they should let you virtualize more Mac instances. Like an M5 maybe limit to 2, but maybe let an M5 Pro do 4 and an M5 Max do 8 or something.
    • benoau 3 hours ago
      Why should they impose a limit at all? Your hardware is a natural limit, you'll stop of your own accord when you reach its thresholds.
      • naikrovek 3 hours ago
        They are likely scared of people who would run MacOS virtual desktop farms, without also buying an appropriate number of Apple machines.

        That’s what I would be worried about if my primary source of income was hardware sales.

        • mysteria 10 minutes ago
          IMO they should sell appropriately priced licenses that allow the use of more VMs. Make the licenses expensive enough so that it doesn't eat into hardware sales, or explicitly prohibit VDI/virtual seats in the license agreement.

          Currently services like Github Actions painfully and inefficiently rack thousands of Mac Minis and run 2 VMs on each to stay within the limits. They probably wouldn't mind paying a fee to run more VMs on Mac Studios instead.

        • ryandrake 2 hours ago
          Apple had to be dragged kicking and screaming into the world of virtualization and the idea of macOS running on anything besides "metal built by Apple." They've been pretty clear for decades that they only care about customers who buy Apple aluminum and silicon.
          • woodson 2 hours ago
            Well, but their customers are those that buy Apple hardware.
        • moondev 1 hour ago
          Imagine buying a mac studio with 500+ GB of memory and being limited to 2 vms.
          • FireBeyond 29 minutes ago
            They discontinued the 512GB Studio, and the Pro is gone, so no fear there now.
    • bdcravens 1 hour ago
      The limit isn't really a resource issue, since you can run pretty much an "unlimited" number of non-Mac VMs. I suspect it's more of a business decision, such as preventing people from setting up shop as a low-cost Mac VPS provider.
    • namelosw 33 minutes ago
      It really is silly. The other day I decided to try this openclaw thing out but concerned about the security stuff, so I took VM for a spin only to find out the iCloud and the App Store were restricted.
    • fortran77 39 minutes ago
      I buy a $100 Windows 11 Pro licence, and my limit is 1024 VMs

      Hyper‑V on Windows 11 supports up to 1024 simultaneous VMs per host if the hardware can handle it. On my little Windows ARM laptop I can easily run 4 VMs before it runs out of steam.

    • whatsupdog 1 hour ago
      "Can you please apply soothing balm after you beat me?" That is what you sound like.
  • jadar 19 minutes ago
    > When using a custom kernel collection with Apple Silicon, there are some unfortunate downsides. The biggest being that streamlined OS updates are no longer available.

    This might be a blessing in disguise.

  • dvrp 10 minutes ago
    Seems Mykola Grymalyuk started working at Apple 2 years after this blog post. You either die a hero..
  • czk 3 hours ago
    starting with M3+ you can use Hypervisor.framework/Virtualization.framework to spin up nested VMs.

    it would be amusing if that bypassed the limit.

  • Khalid_nowaf 3 hours ago
    I’m very curious, why did Apple put such a limitation?
    • ralph84 2 hours ago
      Because their business model is to sell tightly integrated hardware and software as a package. The hardware sales fund the software development. They don't want people who haven't bought the hardware using the software.
      • moondev 1 hour ago
        The VM limit only applies to the number of macOS VMs launched from macOS itself.

        My 2018 mac mini officially supports VMware ESXi to be installed directly on the hardware and virtualize any number of macOS machines

        Funny enough I can even launch more than 2 macOS vms on my framework chromebook with qemu + KVM from the integrated Linux terminal.

      • benoau 1 hour ago
        Yeah but the "hardware" in that sense is almost entirely iPhone and iPhone-adjacent, Mac is a trailing 4th- or 5th-place line of business... maybe 6th.
    • driverdan 14 minutes ago
      MacOS is full of these anti-owner decisions. They want full control over your experience for their benefit.
    • cluckindan 3 hours ago
      Probably to prevent a single hardware system from being used to run an online identity farm.
      • mschuster91 2 hours ago
        Doesn't make too much sense, the VMs don't get unique hardware identifiers that one could (ab)use for spamming iMessage.
        • peyton 2 hours ago
          That kind of tracks as the source of the concern. My first thought was it’d be something IDMS-related as well. I don’t know enough about that system to pinpoint exactly what.
  • rayiner 1 hour ago
    It’s crazy that you can compile a custom kernel and it’ll boot and the GUI will run.
  • RestartKernel 3 hours ago
    This is a really cool article, but the existence of such an arbitrary limit on any serious development platform is weird.
    • tempest_ 3 hours ago
      Has apple been a serious development platform in the last 20 years?

      I know a lot of devs like apple hardware because it is premium but OSX has always been "almost linux" controlled by a company that cares more about itunes then it does the people using their hardware to develop.

      • trueno 16 minutes ago
        > Has apple been a serious development platform in the last 20 years?

        i dont think anyone asks this question in good faith, so it may not even be worth answering. see:

        > I know a lot of devs like apple hardware because it is premium but OSX has always been "almost linux" controlled by a company that cares more about itunes then it does the people using their hardware to develop.

        yea fwiw macs own for multi-target deployments. i spin up a gazillion containers in whatever i need. need a desktop? arm native linux or windows installations in utm/parallels/whatever run damn near native speed, and if im so inclined i can fully emulate x86/64 envs. dont run into needing to do that often, but the fact that i can without needing to bust out a different device owns. speed penalty barely even matter to me, because ive got untold resources to play around with in this backpack device that literally gets all day battery. spare cores, spare unified mem, worlds my oyster. i was just in win xp 32bit sp2 few weeks ago using 86box compiling something in a very legacy dependent visual studio .net 7 environment that needed the exact msvc-flavored float precision that was shipping 22 years ago, and i needed a fully emulated cpu running at frequencies that was going to make the compiler make the same decisions it did 22 years ago. never had to leave my mac, didnt have to buy some 22 year old thinkpad on ebay, this thing gave me a time machine into another era so i could get something compiled to spec. these techs arent heard of, but its just one of many scenarios where i dont have to leave my mac to get something done. to say its a swiss army knife is an understatement. its a swiss army knife that ships with underlying hardware specs to let you fan out into anything.

        for development i have never been blocked on macos in the apple silicon era. i have been blocked on windows/linux developing for other targets. fwiw i use everything, im loyal to whoever puts forth the best thing i can throw my money at. for my professional life, that is unequivocally apple atm. when the day comes some other darkhorse brings forth better hardware ill abandon this env without a second thought. i have no tribalistic loyalties in this space, i just gravitate towards whoever presents me with the best economic win that has the things im after. we havent been talking about itunes for like a decade.

      • jaredklewis 2 hours ago
        At least 9 out of every 10 software engineers I know does all their development on a mac. Because this sample is from my experience, it’s skewed to startups and tech companies. For sure, lots of devs outside those areas, but tech companies are a big chunk of the world’s developers.

        So yea I would say Apple is a “serious development platform” just given how much it dominates software development in the tech sector in the US.

        • OptionOfT 2 hours ago
          I have the feeling a lot of people take Macs because the other option is a locked down Windows, and Linux is not offered.
          • manithree 1 hour ago
            This. I ran Linux at work until last year, when it was finally disallowed. I went with locked-down Mac over locked-down Windows.
          • hparadiz 1 hour ago
            The hardware for a Linux laptop right now is not great. Especially for an arm64 machine. Even if the hardware is good the chassis and everything else is typically plastic and shitty.
            • c0balt 1 hour ago
              That is a surprising sentiment. Most dell and Lenovo laptops work just fine and are usually of reasonably good build quality (non-plastic chassis etc.).

              arm64 is however mostly bad. The only real contender for Linux laptops (outside of asahi) was Snapdragon's chips but the HW support there was lacking iirc.

        • gambiting 2 hours ago
          >>At least 9 out of every 10 software engineers I know does all their development on a mac

          I work in video games, you know, industry larger than films - 10 out of 10 devs I know are on Windows. I have a work issued Mac just to do some iOS dev and I honestly don't understand how anyone can use it day to day as their main dev machine, it's just so restrictive in what the OS allows you to do.

          • st3fan 1 hour ago
            Weird .. macOS is still completely open is my experience. Can you give an example?
            • gambiting 1 hour ago
              I compile a tool we use, send it to another developer, they can't open it without going through system settings because the OS thinks it's unsafe. There is no blanket easy way to disable this behaviour.

              We also inject custom dlibs into clang during compilation and starting with Tahoe that started to fail - we discovered that it's because of SIP(system integrity protection). We reached out to apple, got the answer that "we will not discuss any functionality related to operation of SIP". Great. So now we either have to disable SIP on every development machine(which IT is very unhappy about) or re-sign the clang executable with our own dev key so that the OS leaves us alone.

              • 10000truths 1 hour ago
                If SIP is kicking in, it sounds like you're using the clang that comes with Apple's developer tools. Does this same issue occur with clang sourced from homebrew, or from LLVM's own binary releases?
              • fragmede 57 minutes ago
                If it's being sent to another developer then asking them to run xattr -rd com.apple.quarantine on the file so they can run it doesn't seem insurmountable. I agree that it's a non-starter to ask marketing or sales to do that, but developers can manage. Having to sign and then upload the binary to Apple to notarize is also annoying but you put it in a script and go about your day.

                But Apple being "completely open", it is not.

          • fortran77 36 minutes ago
            I work as a consultant for the position, navigation, and timing industry and 10 of 10 devs were on Windows. Before that I worked for a big hollywood company and while scriptwriters and VP executive assistants had Macs, everyone technical was on Windows. Movies were all edited and color graded on Windows.
      • morphle 48 minutes ago
        Apple had real Unix a decade before the Linux crap was made, a bad unix copy. Nextstep was much better than Linux crap. "A budget of bad ideas" is what Alan Kay said about Linux [1], he invented the personal computer.

        My 1987-1997 ISP was based on several different Unix running on Apple, probably long before you where born.

        Apple built several supercomputers.

        [1] https://www.youtube.com/watch?v=rmsIZUuBoQs

        [2] Founder School Session: The Future Doesn't Have to Be Incremental https://www.youtube.com/watch?v=gTAghAJcO1o

        • smackeyacky 10 minutes ago
          Alan Kay invented a dead end (smalltalk). Meanwhile Linux became the future.

          Apple had a terrible Unix until they bought NextStep.

        • tempest_ 19 minutes ago
          Yeah, they were that, and for the last 20 years they have been the iphone company.
      • amelius 3 hours ago
        It is a weird situation. Apple products are consumer products but they make us use them as development hardware because there is no other way to make software for those products.
        • BoorishBears 10 minutes ago
          Making software for other Apple products pretty low on the reasons I use a MBP.

          128GB of RAM and an M4 Max makes for a very solid development machine, and the build quality is a nice bonus.

      • thomascountz 3 hours ago
        Anything being developed for the Apple ecosystem requires use of the Apple development platform. Maybe the scope could be called "unserious," but the scale cannot be ignored.
        • tempest_ 3 hours ago
          I am aware.

          However having used Xcode at some point 10 years ago my belief is that the app ecosystem exists in spite of that and that people would never choose this given the choice.

      • jonhohle 3 hours ago
        For me at least, not being Linux is a feature. Linux has always been “almost Unix” to the point where now it has become its own thing for better or worse. OS X was never trying to be Linux. It would be better if we still had a few more commercial POSIX implementations.
        • tempest_ 3 hours ago
          That is fair but in my experience most devs are targeting linux servers not BSD(or any other flavour) which is helped by OSX. If OSX was linux derived it would suit them just as well.

          edit: I suppose I should also note the vast majority of people developing on mac books (in my experience anyway) are actually targeting chrome.

          • jonhohle 2 hours ago
            Heterogeneity is the feature. The Linux ecosystem is better off for it (systemd, Wayland, dconf, epoll, inotify are all based on ideas that were in OS X first) and not being beholden to Linux is a competitive advantage for Apple everyone wins.
          • RestartKernel 2 hours ago
            > I suppose I should also note the vast majority of people developing on mac books (in my experience anyway) are actually targeting chrome.

            Point taken. Most developers probably make do with Linux containers rather than MacOS VMs.

  • obilgic 3 hours ago
    Can this work with lume as well? Currently it has a similar limitation.
    • czk 3 hours ago
      it should, lume is a thin wrapper around Apple's Virtualization.framework as i understand it
  • ab_testing 2 hours ago
    Very funny to see HN hate on Microsoft and Google but then love a company where they cannot even run an app on their mobile platform without Apple's permission or only a certain number of VMs on the hardware they own .
    • monocularvision 1 hour ago
      Someday I may be able to retire this link, but today is not that day: https://en.wiktionary.org/wiki/Goomba_fallacy
      • toobulkeh 1 hour ago
        I’ve been looking for this for forever. Finally, the right label.
      • gaythread 1 hour ago
        [flagged]
    • matheusmoreira 1 hour ago
      HN is not one person. I'm very happy to hate on all of them. I see what you mean though. I've given up on getting normal people to care, but seeing programmers who are absolutely smart enough to run their own Linux system on computers they actually own actively choose not to do so is very disconcerting.
      • AussieWog93 1 hour ago
        >seeing programmers who are absolutely smart enough to run their own Linux system on computers they actually own actively choose not to do so is very disconcerting.

        I run macOS because Apple understands that QA testing is something of actual importance, and designing yet another package manager is not.

        I do spin up Linux every now and again to see if it's good yet, and always walk away.

        Why do documents print at ~50dpi on my network printer?

        Why does the system simply not wake up ~20% of the time when I open my laptop's lid?

        Why do I have to unplug and reconnect my USB WiFi Dongle every hour or so when the internet randomly drops out?

        Why does the system stop recognising my USB SD Card reader occasionally, forcing me to hard reboot the system?

        Why is the audio distorted over HDMI when I enable HDR?

        Why does Kodi only detect a refresh rate of 30Hz when the system itself has no issues seeing that the monitor is 60Hz?

        All of these are real problems that real users have had, but instead of solving them the Linux development community instead chooses to devote their time and resources navel gazing about systemd alternatives or creating a fragile AUR package for software that already has a sensible and officially supported distribution method.

        • matheusmoreira 1 hour ago
          TL;DR you sacrificed your freedom for convenience, you think quality assurance is worth being at Apple's mercy, you signed away the keys to "your" machine so they can "manage" it for you along with the rest of your life.

          Meanwhile I'm running about a dozen of development virtual machines right now. I'm limited only by the amount of RAM my computer has. It never even occurred to me that some gigacorporation out there would have thought to limit the VMs their own users can spawn. Every day, they reach a new low.

          • ericmay 1 hour ago
            On the other hand I’m very conveniently enjoying my experience, I don’t have to waste time screwing with stuff I have no interest in screwing with - like the OP’s examples, and if I want to run Linux I’ll just install it and do what I want or rent out some compute time somewhere.

            Besides, you can buy a Mac and do whatever you want and go buy a bunch of off the shelf components to do whatever hobby stuff you want to do too.

            Freedom, perhaps, starts with not making up and applying limitations on yourself.

            • matheusmoreira 46 minutes ago
              > Freedom, perhaps, starts with not making up and applying limitations on yourself.

              Nothing wrong with applying limitations to oneself. That's discipline, principles. It's important stuff.

              The real problem is accepting the completely made up limitations that others apply on you. Corporation wakes up one day and just decides people can't run more than two virtual machines? That's stupid. Actually defending this with "but convenience" arguments as if convenience was supposed to override freedom? No.

              Freedom isn't something you actively work towards. It's something you start with. It's the status quo. Others take it away from you. You can either accept it passively and enjoy the "convenience", or you can resist and go down the harder path. It's very disappointing to see people on Hacker News choose the former path.

          • AussieWog93 32 minutes ago
            >TL;DR you sacrificed your freedom for convenience

            Yes I did, just like you did when you chose to live as a taxpaying member of society rather than a hermit scouring the bush for berries and fish.

            Enjoy your VMs.

            • matheusmoreira 10 minutes ago
              Living as a taxpaying member of society is something that is imposed on us. If we refuse, violent men with guns show up at our doors to arrest us and seize our property. At least we get to try and vote out idiots imposing stupid quotas on the population.

              The issue of computer freedom does not even come close to this. None of this is imposed on us. We have the power to choose differently at any time. We can choose not to accept the monopolistic corporation's terms.

      • senderista 41 minutes ago
        I use a Macbook for work and do all my development via ssh on remote Linux instances. Each OS is doing what it does best. I last tried a Linux laptop for development in 2020 and my conclusion was the same as in 2010: never again for at least a decade. I have better things to do than fix broken drivers and curse at shitty trackpads.
    • tomhow 45 minutes ago
      Please avoid these kinds of sneers that characterize the whole community as being united in “hate” or “love” for any particular company or technology.

      HN is a diverse global community and its views about most topics form a normal distribution, and most people here are able to form nuanced opinions that consider the positives and negatives in all these topics. This kind of “very funny” swipe relies on a caricature that's easy to portray if you focus on the loudest voices on one side of any discussion but falls away if you make the effort to read the discussions in depth.

    • dghlsakjg 2 hours ago
      Since when are users in this place shy about bashing Apple?

      Plenty of hate out there of apple alongside the love.

      • Barbing 2 hours ago
        In the very same comments sometimes, those frustrating geniuses
        • neal_jones 1 hour ago
          Inside of me are two wolves. One that’s like “F Apple” and another that is like “Are they going to do an M5 ultra or…?”
          • matheusmoreira 1 hour ago
            We can appreciate their hardware achievements and at the same time condemn them for their monopolistic anti-user decisions.
        • RealityVoid 2 hours ago
          Adults can hold 2 thoughts in their head at their same time.
          • skygazer 1 hour ago
            Paraphrasing F. Scott Fitzgerald? "The test of a first-rate intelligence is the ability to hold two opposed ideas in the mind at the same time, and still retain the ability to function."

            Holding contradictory ideas isn't the laudable skill. Any uncritical person can believe conflicting things without being troubled by them. The genius is holding such ideas in disbelief long enough to let evidence alter or evict them.

    • hparadiz 1 hour ago
      What love? I think this is bullshit.
  • edude03 2 hours ago
    IIRC you can just turn off sip and set the boot argument that controls it without a custom kernel