8 ms·
Is X11 going away? what will replace it ? If you are going to make a graphics based Linux program today, what technology should you chose ?
by z3t4 5y ago
Is X11 going away? what will replace it ? If you are going to make a graphics based Linux program today, what technology should you chose ?
- fulafel 5y agoWhatever comes after X11 will also go away, probably before X11 has actually gone away.
- hulitu 5y agoAfter X11 shall come X12. But, as the song says, we are living on a planet that's revolving and evolving...
- sleepycatgirl 5y agoX11 is not going away explicitly, but, Just... Afaik maintaining it is huge pain. Things are slowly shifting to Wayland.
- b112 5y agoI suspect Wayland will be as ipv6. Never fully used by all, old hardware around for decades without it, and likely require something else, such as X11 now supports wayland! Just as I suspect ipv8 will make ipv6 disappear! ipv8 is identical to ipv4, it just has another 256 in front of it. 5 octlets. A 6th octlet for planet designation...
- hulitu 5y agoWayland looks like the impaired child of X. They promise some security and they are reinventing the wheel.
- gpderetta 5y agoIt will go away in '22. 2122 of course.
- b112 5y agoExcept for a colony planet of Modern Amish, which refuse to embrace brain implants, age extension tech, and X11 replacements. X11 forever!
- unionpivo 5y agoX11 is becoming a legend in both good and bad sense.
- deleted 5y ago[deleted]
- pjmlp 5y agoOpenGL [0], or Gtk/Qt based frameworks basically. Very few would bother to do X11 graphics directly with Xlib, we aren't in the 1980's. [0] - Some would say Vulkan I rather spare myself the burden.
- ACS_Solver 5y agoIf you're making a program today, you should be using some higher level framework or API than raw X11. If you program for Gtk or Qt, or make an OpenGL or Vulkan program, you mostly don't care about X11 or Wayland because i.e. Qt supports both. You could use Xlib to program a client in pure X11, but that approach would have been outdated even 15 years ago. There's no good reason to do so today, even embedded systems often use Qt and there's good support for building embedded/Qt in Yocto. Most embedded devices that have any UI at all are likely powerful enough to run Qt, so I suspect there aren't many cases these days where you need to limit yourself to Xlib because of performance.
- toast0 5y ago> You could use Xlib to program a client in pure X11 Xlib is actually not very pure X11; Xlib makes a lot of things synchronous whereas X11 is really an asynchronous messaging distributed systems protocol that happens to output to the screen as a side effect. Xcb is a much closer to the actual protocol library. IMHO, a lot of early hate for X11 was really hate at Xlib; but as Xlib was the official library, it was understandable to get them confused.
- ptx 5y agoXCB is missing support for some important extensions, though. Such as Xft, so you can't display modern anti-aliased fonts (unless you somehow use Xlib at the same as XCB, I think?).