💾 Archived View for gemini.bortzmeyer.org › fosdem › event-11166.gmi captured on 2023-03-21 at 01:09:30. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
Isaac Freund
Type devroom
Bringing increased type safety to libwayland and wlroots
Starts on day 1 (2021-02-06) at 14:45 (Brussels time, UTC+1) in room Zig (duration 01:00)
Matrix room #zig:fosdem.org
I explore how I have eliminated nearly all void pointer casting from the libwayland/wlroots APIs in my Zig bindings without introducing overhead or significantly increasing complexity. This will include a demonstration of how Zig's compile time code execution features make such a task quite straightforward. I will then discuss the experience of updating river, my wayland compositor, to use the bindings over the auto-generated bindings provided by Zig's @cImport() feature.