HackerTube

THE VIDEO SHELF · zig and wayland

Writing a Wayland Compositor in Zig - Isaac Freund

Isaac Freund, author of the River Wayland compositor, talks about writing a Wayland compositor in Zig. He covers why he chose Zig over C and Rust and how Zig can wrap a hairy C library.

Why HN readers recommended it

HN recommends it as a phenomenal talk on Zig's C interop and on choosing between C, Rust and Zig for systems work.

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
Zig SHOWTIME
Topic
zig and wayland
Format
talk
Level
intermediate
HN recommenders in dataset
4
HN mentions in dataset
5
Recommendation years in dataset
2021–2021

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • this talk is phenomenal thank you. he explains (timestamp: [VIDEO] ) why he didn't go with Rust and it's quite puzzling what he says. I don't know enough about Rust if that's the case. To rephrase: "Rust was an obvious contender but it lacked good …

    DyslexicAtheist on Hacker News · 2021-01
    In Should You Write a Wayland Compositor?
  • Congratulations! And welcome Isaac, I loved his Zig+Wayland screencast [1], where he explained very engagingly how Zig is able to embrace and extend a pretty hairy C library and make it more memory safe, without forcing the implementor to rewrite or painfully try to bend …

    1_player on Hacker News · 2021-12
    In Zig 0.9.0
  • The author of River has also done some fantastic talks, on Zig ShowTime [1] and at FOSDEM '21 [2]. [1] "Writing a Wayland Compositor in Zig" - [VIDEO] [2] "Zig: the perfect language for a Wayland Compositor?" - [LINK]

    jorangreef on Hacker News · 2021-07
    In River – A dynamic tiling Wayland compositor

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.