[LibreQoS] Fwd: [NetDev-People] 0x17: Rust for Linux Networking Tutorial

Dave Taht dave.taht at gmail.com
Tue Sep 26 06:12:32 EDT 2023


---------- Forwarded message ---------
From: Jamal Hadi Salim via people <people at netdevconf.info>
Date: Tue, Sep 26, 2023 at 3:06 AM
Subject: [NetDev-People] 0x17: Rust for Linux Networking Tutorial
To: people <people at netdevconf.info>
Cc: <program-committee at netdevconf.info>, Kimberley Jeffries
<kimberleyjeffries at gmail.com>, Ricardo Coelho
<ricardocoelho at expertisesolutions.com.br>, Lael Santos
<lael.santos at expertisesolutions.com.br>, Wedson Almeida Filho
<wedsonaf at gmail.com>, Miguel Ojeda <miguel.ojeda.sandonis at gmail.com>,
Jamal Hadi Salim <jhs at mojatatu.com>


So you've heard of Rust and you have heard, while walking around the
grape vine, about Rust for Linux. You are a hardcore linux kernel
hacker and you love your C. You scratch your head as you wonder why in
the world would anyone need another language! But at the same time you
cant stand all those annoying pesty syzkaller bug reports or CVEs on
your code - they take away all the fun.

Rust has a key property that makes it very interesting as the second
language in the kernel: it guarantees no undefined behavior takes
place (as long as unsafe code is sound). This includes no
use-after-free mistakes, no double frees, no data races, etc. It also
provides other important benefits, such as improved error handling,
stricter typing, sum types, pattern matching, privacy, closures,
generics, etc.

In this tutorial two of the gurus in Rust for Linux, Wedson Almeida
Filho and Miguel Ojeda will guide us through a practical example which
will use an example of kernel networking code. The sample code is
first written in C and then migrated to Rust.
Wedson and Miguel will then do a step-by-step walk of the Rust
incarnation of the code, explaining how the language works at a
high-level and well as giving practical tips to get started with Rust
for networking in the kernel.

Our esteemed guides will show us how Rust prevents some of the
mistakes that could happen in the C version, some of which could
become vulnerabilities exploited by bad operators or that pesky
syzkaller.

There is no prerequisite Rust knowledge needed for this tutorial.

cheers,
jamal
_______________________________________________
people mailing list -- people at netdevconf.info
To unsubscribe send an email to people-leave at netdevconf.info


-- 
Oct 30: https://netdevconf.info/0x17/news/the-maestro-and-the-music-bof.html
Dave Täht CSO, LibreQos


More information about the LibreQoS mailing list