It’s not about bypassing libc, but about not wanting to directly play with C itself. And about what I’m doing… the ultimate goal is to write a Wayland version of Openbox, as I love its performance and grew very tired of all of Xorg’s issues but none of the current window managers tickle my fancy, but I’m doing all this at the most basic level to learn the protocol and polish up on Julia at the same time.
So far I’ve created a WaylandCore module with all the wire-level stuff (except, as you can see,
fds) and a WaylandScanner module that is supposed to read protocol XML files and generate proper, all-julia, bindings. The core works just as well as I can test it without having any advanced functionality that uses it, and the scanner is on the verge of working. Feedback is very much appreciated.
PS: Yes, I know I can just use libwayland. Consider the wheel as in the process of being reinvented for educational purposes.