‹ BackHN Continuity

Thread

The Forgetful CPU (Linux on M4)

267 points · 203 comments · signa11

  1. sscaryterry · · focus · HN ↗
    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.
    1. MBCook · · focus · HN ↗
      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.

      1. UltraSane · · focus · HN ↗
        But Apple could make a lot of money selling Linux servers with their CPUs.
        1. internet2000 · · focus · HN ↗
          Why would they want to? They make even more money selling their own computers with their CPUs.
          1. UltraSane · · focus · HN ↗
            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.
            1. toast0 · · focus · HN ↗
              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.

              1. Asmod4n · · focus · HN ↗
                Apple also has no api to write a fast server.

                Libdispatch is a burden to use for a server because of its book keeping overhead, and their history with kqueue makes it hard to convince someone to use it.

                1. Pesthuf · · focus · HN ↗
                  Isn’t kqueue pretty much as fast as epoll?

                  There’s no io_uring, but in practice, almost all servers run epoll anyway, don’t they?

                  1. dijit · · focus · HN ↗
                    epoll isn’t very fast, kqueue is indeed much faster as a primitive.

                    MacOS’s implementation is an order of magnitude or more slower than (say) FreeBSD though, so its not a valid comparison that the syscall simply exists.

                    Another example of a syscall performing differently would be gettimeofday() in OpenBSD vs linux, its an extremely cheap operation in Linux but quite costly in OpenBSD despite being identical at the kernel boundary.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.