Zig: the perfect language for a wayland compositor?
summary
Shows how Zig was used to remove almost all void* casts from libwayland and wlroots APIs by writing Zig bindings that add type safety without runtime overhead or major complexity. Demonstrates using Zig’s compile-time code execution to implement those bindings and describes converting the river Wayland compositor from auto-generated @cImport() bindings to the custom Zig bindings.
AI-written summary · about
related talks
36mUsing Zephyr with Non-C Languages
13mZML: ML framework for Zig
53mDeveloping WebAssembly Rust plugins for Zellij
41mRust Meets Zephyr: Building Safer Embedded Applications
41mWhy Rust and Zephyr Are a Good Fit
42mUpdate on Rust in Zephyr
41mRust Meets Zephyr: Building Safer Embedded Applications
45mCrabs Flying Kites: Writing a Zephyr Application in Rust