Security Headlines

Tokio special with Carl Lerche


Listen Later

In this podcast episode of Security Headlines: Carl Lerche, Rust developer and

maintainer of the popular Rust programming library Tokio joins us.

He walks us through what Rust and Tokio is, how companies are building their stacks with Rust.

This and a lot more on this episode of Security Headlines!



Carl heard about this new programming language called Rust and wanted to check it out.

What started as a hobby project led Carl down the rust path and he now works for Amazon as a

Rust developer! Helping Amazon build stable infrastructure.


We get to hear the story of how Tokio got started and how the Rust programming language has changed

over the years.

Since a large chunk of Tokio code is focusing on making it easy for developers to write asynchronous functions.

And be able to write fast code that does not get stuck and lets the data flow.

But how does non-blocking code really work? What differs Rust from the programming language Golang is

Golangs, adoption of green threads instead of using regular threads.

Carl walks us through how this works and how Rust tackles this problem "the Rust way".   


Do you want to build reliable network services with Rust?

Then Tokio is something you should check out, try out the new 0.3 release here:

https://github.com/tokio-rs/tokio/releases/tag/tokio-0.3.1       


In this episode we also cover:   


slowing down syscalls to protect against Spectre


async syscalls with io-uring


building high-performance systems with non-blocking sockets


writing code without syscalls


getting started with Tokio


async operating system api's 


how to start coding with tokio



External links:


https://doc.rust-lang.org/stable/rust-by-example/

https://discord.gg/tokio

https://tokio.rs/

https://twitter.com/carllerche

https://github.com/tokio-rs/

https://github.com/tokio-rs/io-uring

https://blogs.oracle.com/linux/an-introduction-to-the-io_uring-asynchronous-io-framework

https://www.howtogeek.com/338269/a-huge-intel-security-hole-could-slow-down-your-pc-soon/

https://www.rustaceans.org/

https://rust-lang.github.io/async-book/

https://github.com/tokio-rs/mini-redis

https://pop.system76.com/

https://rust-analyzer.github.io/

https://en.wikipedia.org/wiki/Epoll

https://twitter.com/tokio_rs

https://github.com/carllerche

...more
View all episodesView all episodes
Download on the App Store

Security HeadlinesBy Firo Solutions

  • 5
  • 5
  • 5
  • 5
  • 5

5

1 ratings