Rust in cURL


Manage episode 301450367 series 2522694
By Jon Gjengset and Rustacean Station. Discovered by Player FM and our community — copyright is owned by the publisher, not Player FM, and audio is streamed directly from their servers. Hit the Subscribe button to track updates in Player FM, or paste the feed URL into other podcast apps.

First time guest host, Allen Wyma talks with Daniel, the original author of cURL, about using Rust in cURL.

  • cURL is a command line tool and library for transferring data with URLs.
  • cURL, and its data transfer core, libcurl are both written in C, which is known to be not memory safe.
  • While it is almost impossibe to rewrite it into another language, offering a third-party library written in Rust could take a further step forward.

Contributing to Rustacean Station

Rustacean Station is a community project; get in touch with us if you’d like to suggest an idea for an episode or offer your services as a host or audio editor!


  • Architecture of cURL & libcurl
  • What brought Daniel to Rust? How long has he been using Rust?
  • What language was Daniel working in before that?
  • Third party libraries written in Rust?
  • What benefits does Rust bring to cURL?



  • [@05:10] - cURL 7.78.0
  • [@07:44] - Implementing Protocol
  • [@09:25] - HTTP/3
  • [@13:30] - Architecture of cURL & libcurl
  • [@17:40] - cURL as a hybrid library
  • [@19:40] - Replacing C with Rust
  • [@34:00] - Experience of using Rust
  • [@35:40] - async/.await in rust
  • [@40:45] - Anything dislike about Rust?
  • [@42:35] - Challenge of integrating with Rust
  • [@48:00] - Can Rust help curl survive?
  • [@49:10] - Tips for beginners?


Intro Theme: Aerocity

Audio Editing: Plangora

Hosting Infrastructure: Jon Gjengset

Show Notes: Plangora

Hosts: Allen Wyma

52 episodes