[haiku] Re: some questions from a complete newbe
- From: spinach williams <spinach.williams@xxxxxxxxx>
- To: haiku@xxxxxxxxxxxxx
- Date: Sat, 8 Dec 2018 14:24:27 -0800
On Dec 8, 2018, at 1:24 PM, François Revol <revol@xxxxxxx> wrote:
Again, just like on macOS.
X11... it's still a foreign
GUI server.
François.
it’s not a gui server. it’s a screenserver built for unix. it runs natively on
darwin (the macOS stack without cocoa), and you can see many examples of
exactly that online. there is no difference between that implementation and
what you see running alongside cocoa. X can reach the kernel. NEXTStep, the
basis of cocoa, originally ran on X, as is the case with OPENStep and GNUStep
today. of all the pieces of this puzzle, cocoa is the newest and the only part
unique to the macOS UNIX distribution. the rest ran X since well before apple
built on it.
in haiku, that’s not the case at all. X can’t reach the kernel, never ran on
any part of the system, isn’t available in an alternate version of the haiku
stack – because in haiku the screen rendering is integral to the system as a
whole.
unlike in darwin, an X server in haiku would sit entirely in user space. as a
result an app ported to run in haiku – even a Qt app – would outperform
anything running in a haiku X server. not true of X apps vs their cocoa ports
in macOS. it’s just getting to those apps to launch them that’s ugly.
Other related posts: