Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Writing a Wayland Compositor in Zig - Isaac Freund

    Zig SHOWTIME

    4 HN recommenders · recommended in 3 months, 2021

    YouTube

    42:20 · 26K views · May 31, 2020

    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.

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

    Software Engineering & LanguagesC, C++, Rust, Go & systems languagesLinux & open-source ecosystems
    1. 49:20
      Modeling Data Concurrency w/ Asynchronous I/O in Zig - RedisConf 2020Redis11K views • 6 years ago
    2. 45:35
      The Real Story Behind Wayland and X - Daniel Stone (linux.conf.au 2013)Mladen Mijatov104K views • 13 years ago
    3. 59:48
      The Road to Zig 1.0 - Andrew KelleyChariotSolutions168K views • 7 years ago
    4. 54:14
      Zig: A programming language designed for robustness, optimality, and clarity –  Andrew KelleyRecurse Center75K views • 8 years ago
    5. 42:38
      2021: Year of the Linux Gaming Desktop - Andrew KelleyZig SHOWTIME15K views • 5 years ago
    6. 1:00:23
      [#36] Zig Roadmap 2024 - Andrew KelleyZig SHOWTIME66K views • 2 years ago
    7. 1:13:11
      Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley ExplainsJetBrains982K views • 5 months ago
    8. 43:20
      Zig Roadmap 2023 - Andrew KelleyZig SHOWTIME77K views • 4 years ago
    9. 46:40
      Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)ChimiChanga416K views • 2 years ago
    10. 48:46
      Rust's Journey to Async/AwaitInfoQ90K views • 6 years ago
    11. 1:09:18
      Is It Time to Rewrite the Operating System in Rust?InfoQ310K views • 7 years ago
    12. 38:19
      Origins of Go Concurrency style by Rob Pikejasonofthel33t28K views • 14 years ago
    13. 45:35
      [Linux.conf.au 2013] - The real story behind Wayland and XHackersOnBoard35K views • 13 years ago
    14. 1:38:57
      Carbon Language Successor Strategy: From C++ Interop to Memory Safety - Chandler Carruth - CppNow 23CppNow24K views • 3 years ago
    15. 1:22:21
      Introducing a Memory-Safe Successor Language in Large C++ Code Bases - John McCall - CppNow 2023CppNow18K views • 3 years ago
    16. 48:11
      ElixirConf 2021 - Isaac Yonemoto - Zig (heart) ElixirElixirConf3.9K views • 5 years ago
    17. 1:05:59
      Modern C and What We Can Learn From It - Luca Sas [ ACCU 2021 ]ACCU Conference130K views • 5 years ago
    18. 2:11:32
      How I program CEskil Steenberg1M views • 9 years ago
    19. 1:00:54
      GoingNative 2012 - Day 2 - Clangaghuttun13K views • 13 years ago
    20. 32:24
      RustLatam 2019 - Without Boats: Zero-Cost Async IORust Programming Language55K views • 7 years ago

    5 comments from Hacker News

    1. @DyslexicAtheistJan 2021· in “Should You Write a Wayland Compositor?”

      this talk is phenomenal thank you. he explains (timestamp: this 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 support for wlroots. there was a project which attempted to address this but they gave up after 12 months of work and 1000 commits. Rust's strong safety guarantees and memory management conflict with wlroots which assumes a longer lifetime of pointers. If you unplug your monitor with wlroots this pointer receives an event that means the output has disappeared and needs to be validated (see here [LINK] ).* This is strange because Rust positions itself as a system language so I'd have imagined these scenarios are all over the place and unsafe Rust would be the way most of this is solved?

      Strongly recommendsView on HN
    2. @1_playerDec 2021· in “Zig 0.9.0”

      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 it to the strict or idiosyncratic rules of the language, as it may happen with Rust or even Go. I can't wait for 1.0! Or at least until the docs are a bit more accessible... :) 1: this video

      Strongly recommendsView on HN
    3. @rmanolisDec 2021· in “My negative views on Rust”

      Rust does not bind well with C for this reason it can not become a system level programming [LINK] However, there is another programming language that does not need bindings. It is called Zig and here it explains how it solves the same problem this video

      RecommendsView on HN
    4. @jorangreefJul 2021· in “River – A dynamic tiling Wayland compositor”

      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" - this video [2] "Zig: the perfect language for a Wayland Compositor?" - [LINK]

      RecommendsView on HN
    5. @kristoff_itJan 2021· in “Should You Write a Wayland Compositor?”

      Another Wayland compositor written in Zig is ifreund/river [1]. Isaac, the author, gave a talk on choosing C vs Rust vs Zig on Zig SHOWTIME a while back [2] and also has an upcoming talk at FOSDEM 21 [3] [1] [LINK] [2] this video [3] [LINK]

      CitesView on HN