Rust vs Zig discussion - with creators of Bun, Tokio, Turso

157 points swdevtest

A panel discussion with Jarred Sumner (developer of Bun.js and CEO of Oven), Carl Lerche (developer of Tokio and major Rust contributor) & Glauber Costa (Turso co-founder). https://www.p99conf.io/2023/11/14/bun-tokio-turso-rust-zig/

The discussion covers:

  • Glauber’s Rust vs Zig deliberations for the code added to Turso’s fork of SQLite
  • Carl’s take on why Rust is so well-suited for high-performance systems and applications
  • Jarred’s experiences implementing Bun in Zig, focusing on performance and productivity
  • Why Jarred didn’t end up writing Bun in Rust
  • The time, place, and tradeoffs of dropping down into Unsafe Rust
  • The massive Rust learning curve (beyond Jarred’s atypical 2 weeks!)
  • What Zig should borrow from Rust or vice versa