← Back to context

Comment by jojobas

2 years ago

I guess it's normally impossible to write a GUI application for mac os without objective-c libraries doing the talking to the OS, but what do I know.

It is not. This was just a new wave of people finally looking under the hood.

(Where they would have found many many dusty but detailed man pages and docs waiting for them)

Beneath Cocoa are Core Foundation and things like Core Graphics for example, which both are C.

You can write one in X11 if you like, if you make people install Xquartz.

  • Is there example how to do that on mac. Just happy to have an old emu ibm 5100 sun x program. Wonder I need to boot up a vm or can try squartz …

    • brew install --cask xquartz

      Or install from the project homepage [1]. Then just launch the X11 app. Note that it does require the application to be built for Mac - it’s not an emulator, just an implementation of the X11 APIs.

      [1] https://www.xquartz.org/