(I know the proyect basically just supports cli at the moment) Mac is stopping to support intel and all that from what I understand making mac apps arm only (eventually) (and also hackingtosh impossible but unrelated).

The proyect’s page says nothing about this. It does say it also plans to support ios for arm devices which thinking about it would probably also mean running ios apps in android. Regardless, I was saying, wouldn’t running mac apps be impossible without an arm -> x86_64 translation layer/emulator? I know about stuff that do the opposite like box86 or crossover, but yea, idk.

Is my thinking incorrect or why is this not mentioned anywhere?

  • bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    In theory, Mac’s Mach-O executable format supports multi-architecture binaries that can work on both arm64 and x86_64. But I know nothing about Apple’s plans to drop support for x86_64 in X-Code. After this happen, developers will provide arm64-only binaries.

    • signofzeta@lemmygrad.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      13 hours ago

      It’ll probably happen in the next few years. Compiling for PowerPC went away after macOS dropped it, and it was the same story for i386. Running and targeting x86_64 will soon be a distant memory.

      That being said, if you have a Mac/Hackintosh/VM with an older Xcode, keep it! You can still compile with the old version, compile with the new version, and stick the results together with the lipo command. I wrote a simple C CLI app and I can put five architectures in one binary if I want (ppc, ppc64, i386, x86_64, arm64) and it’ll run on any macOS/Mac OS X version ever made.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    I’m fairly sure if it’s a layer like WINE, which is not an emulator, it won’t be able to run software for a different architecture. I mean if it only translates the system calls, you still need software that runs on your CPU. Otherwise it’d be an emulator / virtualization.

    But is Apple going to stop distributing software for x86 soon? It’s been a mere 3 years since they (still) sold x86 Mac Pros.

    • ButteredBread@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      I think so at least. That’s why they say hackingtosh is gonna die. At least as far as my understanding goes cuz they will stop supporting intel or already stopped this update or something like that. Devs will obviously stop supporting x86 too.

      If it was just intel and they used x86 people with intel could still run a lot of apps just not the ones that require like new features.