freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: which language you would use for X11-less macOS graphic framework?


From: Hin-Tak Leung
Subject: Re: which language you would use for X11-less macOS graphic framework?
Date: Thu, 2 May 2024 14:57:05 +0000 (UTC)

Swift is a language and a runtime; python is also a language and a runtime... objective c is a compiled language, extended c. They all provide binding to the platform's GUI toolkit. (cocoa/quartz). Swift on Linux doesn't bind to cocoa (nor x11, I think - not familiar with it). If you are going to get rid of x11, it will be mac os -specific in some degree already.

One of Just's programs I have on my hard disk has `import AppKit` in it (that's cocoa), and another part has `import Quartz`. It is doing those for basic windows programming for mac os.

On Thursday, 2 May 2024 at 15:37:33 BST, Alexei Podtelezhnikov <apodtele@gmail.com> wrote:


> Am I missing some points?


Me too. We are talking about an API which opens a window and shows an uncompressed pixel buffer in whatever language.Then it passes on keystrokes, receives an updated pixel buffer, and updates the window with it.

We are talking about really basic window programming for macOS. The pixel buffer is already prepared in a system-independent fashion.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]