Does this mean we can finally be done with the farce of pretending that Wayland is a serious contender for replacing X11?
Why is it not? I get the impression Wayland has been built by former X devs
Phoenix: A modern X server written from scratch in Zig
211–220 of 462 posts
Re: Phoenix: A modern X server written from scratch in Zig
#212Earlier quoted context omitted.
A lot of people would have preferred this to Wayland if it had come much earlier. If it also runs Wayland apps, many may prefer it actually.
wondering who those people are given that Wayland was done by xorg devs
Actually I still have more issues on Wayland than X. Although it is at least starting to swing in the other direction - e.g. KDE's screen recording feature doesn't work on X. The button's still there but if you click it nothing happens.
Re: Phoenix: A modern X server written from scratch in Zig
#213Earlier quoted context omitted.
Python 3 was actively antagonistic to Python 2 code for no reason other than to lecture us about how we were doing things wrong, writing code to support 2 and 3 to help transition was dumb etc etc. For example, in python 2 you could explicitly mark unicode text with u"...". That was actively BLOCKED with python 3.0 which supposedly was about unicode support! The irony was insane, they could of just no-oped the u"". I…
Python is really one of the worst designed languages. It always baffles me that people recommend it to beginners.
It's definitely not well designed though.
And I agree about recommending it to beginners. Sure, a for-loop and a simple function look very friendly and easy, but good luck explaining to them why they can't import from a file in a different directory...
Re: Phoenix: A modern X server written from scratch in Zig
#214Earlier quoted context omitted.
Current status: > 2025-08-16: dwl IS CURRENTLY UN-MAINTAINED. AT THE PRESENT TIME, I (@fauxmight) DO NOT HAVE THE TIME OR CAPACITY TO KEEP UP WITH wlroots CHANGES. https://codeberg.org/dwl/dwl
I said build on top of wlroots, not DWL. And I only brought it up as an example of a small Wayland compositor/window manager because the poster I was replying to wants to build their own anyway. DWL is more interesting as a learning exercise than something to use.
X11 is backwards compatible, you do not have to "keep up" with its changes.
wlroots seemingly isn't. This is a significant issue when it comes to relying on most 3rd party libraries.
Re: Phoenix: A modern X server written from scratch in Zig
#215Earlier quoted context omitted.
(tangent) This is true, although entertainingly, the "server" part has always been easily confused. In X11, the "server" runs on your local machine, and the "client" frequently runs on a remote system.
Yes, it’s simultaneously logical if you look at how it works and immensely strange if you don’t understand the architecture. (As has been noted all the way back to the UNIX-HATERS Handbook [1], although, pace 'DonHopkins, the NeWS Book uses the same terminology—possibly because it was written late enough to contain promises of X11/NeWS.) [1] https://www.donhopkins.com/home/catalog/unix-haters/x-window...
https://en.wikipedia.org/wiki/Windowing_system#Display_serve...
Re: Phoenix: A modern X server written from scratch in Zig
#216Earlier quoted context omitted.
Which one? The Gnome Wayland, the KDE Wayland, the xroots wayland, Weston, or one of the others? Each one is an independent implementation of a Wayland compositor, with a differing, incompatible set of extensions. X11 was a single, pretty janky implementation. Wayland is the worst of both worlds -- it's cleaned up a little, but it's still kinda janky. In exchange for a little bit of cleanup, mainly around bitmap font…
Sure, but I don't see a world where keeping X11 alive, in addition to all of this, makes anything better or easier, for anyone in the medium to long term.
With Wayland, you don't even get compatibility with Gnome and KDE. You need conditional compilation to get mouse events if you port to FreeBSD Wayland.
For the medium term, if your goal is to reduce fragmentation, X11 is the portable target, even if you use Wayland.
Re: Phoenix: A modern X server written from scratch in Zig
#217Re: Phoenix: A modern X server written from scratch in Zig
#218Earlier quoted context omitted.
It's not technically behind on window positioning. Rather, it was a deliberate choice not to support it. You can very reasonably object to that, but it is sorta a necessary measure to prevent clickjacking.
Did such an attack with crazy moving windows happen in the past?
Re: Phoenix: A modern X server written from scratch in Zig
#219The name Phoenix is overused. There is an Elixir framework called Phoenix. I think I also heard of other projects with that same name before. It's a bit like the name 'Apollo'; besides the moon landing project, I know like 2 dev projects called that and also there is a sales SaaS platform with that name. Surely people should run a search first before choosing a name...
Re: Phoenix: A modern X server written from scratch in Zig
#220Earlier quoted context omitted.
The server runs on the machine that allows clients to connect to it. What is the confusing part about this?
X has the terminology the other way around compared to all other consumer facing software. This is because of its mainframe style history and technically it does make sense, it's just that everybody else does things the other way around. For the people who weren't around in the ancient mainframe times who end up messing with Linux for the first time, this is confusing for a while.