Rust & Zig Combined • Richard Feldman • GOTO 2023
1M subscribers • 95 videos on Hallway • Conference channel
- Recommended by 1 person: 1 on Lobsters.
- Presented by Richard Feldman, Creator of Roc
Intermediate. Assumes working knowledge.
96K views2 years ago1 recommendation
Programming languagesSystems programmingRustZigLanguage design and type systems
Richard Feldman explains why the Roc programming language compiler uses both Rust and Zig, leveraging the strengths of each language.
This presentation was recorded at GOTO Copenhagen 2023. #GOTOcon #GOTOcph gotocph.com Richard Feldman - Functional Programming Language Expert & Author of "Elm in Action" @rtfeldman @SoftwareUnscripted RESOURCES bsky.app/profile/rtfeldman.bsky.social twitter.com/rtfeldman linkedin.com/in/rtfeldman github.com/rtfeldman Links rust-lang.org ziglang.org roc-lang.org ABSTRACT Why would someone use both Rust and Zig in the same project? Rust is complex and famous for its borrow checker's memory safety benefits, whereas Zig is famously simple and has no borrow checker. Wouldn't a project want one or the other, rather than both together? The compiler for the Roc programming language intentionally uses a combination of Rust and Zig. As it turns out, the circumstances that make this a good choice are not as rare as you might think, and the differences in memory safety between Rust and Zig are also not as big as you might think. Come learn about the surprising benefits of combining two languages as different as Rust and Zig! [...] TIMECODES Intro Outline Why did we mix Rust & Zig? Memory safety in practice Where to draw the line? Outro Download slides and read the full abstract here: gotocph.com/2023/sessions/2890 RECOMMENDED BOOKS Richard Feldman • Elm in Action • amzn.to/387kujI Dean Bocker • Don't Panic! I'm A Professional Zig Programmer • amzn.to/3ljKT8d Tim McNamara • Rust in Action • amzn.to/3ux2R9u David Drysdal • Effective Rust • amzn.to/4dAjbdX twitter.com/GOTOcon linkedin.com/company/goto- instagram.com/goto_con facebook.com/GOTOConferences #Rustlang #Ziglang #Roclang #Rust #Zig #Roc #ProgrammingLanguages #Programming #FunctionalProgramming #BorrowChecker #MemorySafety #Haskell #Concurrency #RichardFeldman CHANNEL MEMBERSHIP BONUS Join this channel to get early access to videos & other perks: youtube.com/channel/UCs_tLP3AiwYKwdUHpltJPuA/join Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at gotopia.tech Sign up for updates and specials at gotopia.tech/newsletter SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily. youtube.com/user/GotoConferences/?sub_confirmation=1Why it's here
1 person recommends thisu/gm3_222in r/Zig • Mentions
On “Could 2025 be the year of Zig (for me)?”
u/Not_N33d3din r/Zig • Mentions
On “[Appreciation post] Spent the last week working through ziglings, zig is becoming my favorite language.”
u/steveoc64in r/Zig • Mentions
On “To the people coming from Rust: Please don't try to make zig turn out like rust”
u/No_Penalty2781in r/Zig • Mentions
On “Why did you pick Zig over Rust?”
u/Not_N33d3din r/Zig • Mentions
On “How safe is Zig in practice?”