Taking a break from Wayland for a little bit. If I continue, next will be re-implementing the wayland-scanner behavior to emit Jai. Here's a subset of bindings with a lot of hand-rolled work and a simple windowing/key-handling demo for reference.
https://t.co/duvOlIhXXa
By the way, for learning Wayland, "the book" is very good: https://t.co/Ea27fXAKef Couple that with some example applications that you can hack around with, and you're off to the races. Productivity thoughts aside, I like the Wayland protocol, very elegant.
The best way to appreciate the Win32 windowing API is to develop against all the alternatives. I believe Wayland sacrificed productivity on the altar of decentralization.
New programming languages are inevitable, as we can do better than C. But more languages fragment the effort to make things better on the systems level.
Most effort on the systems level only makes things different, not better.
So wasteful. I think about this a lot.
Finally got a window with keyboard input handling via Wayland in Jai. I was trying to figure out why there were no server-side window decorations. Turns out GNOME on Ubuntu 24.04 just doesn't support them, so you have to draw them yourself, like a caveman.
Been jamming to Dusqk for years. If any part of you enjoyed the vibes of Phantasy Star Online (PSO) or its era, there's probably something here for you, too. All music is handcrafted to this day, no AI. He even used PSO samplers and synths for one album.
https://t.co/M2IDVLDkSS
I will probably start periodically sharing pictures I take around Japan that otherwise sit in free cloud storage that I never look at that is reaching capacity haha.
In the meantime, back to standing up a Wayland client from Jai, to see how it performs vs Xwayland.
In addition to asking what the incentives are, it's useful to ask "why." "Yes, feels nice to get to program in exchange for a dump truck of money, but why is this work so important to someone that they are willing to pour money on me in exchange for it?" Then pull on the thread.
https://t.co/CqdI5QwZlm : work is driven by incentives. The ethical sleight of hand is dividing execution among so many people that everyone has plausible deniability. May we choose our incentives wisely and not perpetuate poor ones.
Interesting, Kojima Productions' long-term goal with their works is to erase the divide between movies and games. The nature of the older MGS games alluded to this, and the increase in featuring bigger-name actors in the games also supports this.
https://t.co/KZl5ucsLsn
The reason I'm interested in this is because even with 3 swapchain images and 2 frames in flight, drawing a single triangle with the host and display both cycling at 60 Hz is causing host frame-time overruns with FIFO presentation mode. Best to not sleep; instead rely on Vsync.
A good step toward solving the infamous frame timing issue, but unfortunately it's just rolling out, meaning you can't expect your user base's typical driver to support it for years. The older VK_GOOGLE_display_timing doesn't seem to have X11 support.
https://t.co/MhFQiFcwle
The official Vulkan tutorials are fraught with issues, by the way. The most hilarious one yet, trying to figure out wth this diagram meant for minutes until I had an idea.