points by saagarjha 4 years ago

macOS still uses Carbon for much of the menu bar and internal event routing.

dev_tty01 4 years ago

The Carbon framework is no longer supported or present on the mac. It went away with other 32-bit support in Catalina.

  • saagarjha 4 years ago
      $ ls /System/Library/Frameworks/ | grep Carbon
      Carbon.framework
    • dev_tty01 4 years ago

      Yes, I see that now. Thanks. There seems to be a lot of confusion about what parts of Carbon are and are not going away or did not make the 64 bit transition. I haven't tried to build a Carbon app in a while. When you look in the frameworks, the ones that are present now seem to have arm64 bridge support, which I assume means arm native code for running Intel apps in Rosetta. Perhaps some very large user base app vendors like Microsoft and Adobe have not quite let go. Probably some old Apple code also. Apple keeps announcing it is disappearing but it can't seem to be killed.

      • saagarjha 4 years ago

        No offense, but I laid out exactly what the framework is used for in my original comment: https://news.ycombinator.com/item?id=29144758. It's not (exclusively) there for Rosetta or third-party compatibility.

        • dev_tty01 4 years ago

          No offense taken. My mistake. None of my 32 bit Carbon apps have worked for a few years and I wrongly assumed the rest of it was gone.