Article 6Y9BW [$] How to write Rust in the kernel: part 2

[$] How to write Rust in the kernel: part 2

by
daroc
from LWN.net on (#6Y9BW)

In 2023, Fujita Tomonoriwrote a Rust version of the existing driver for theAsix AX88796B embedded Ethernet controller. At slightly more than 100 lines,it's about as simple as a driver can be, and therefore is a useful touchstone forthe differences between writing Rust and C in the kernel. Looking at the Rustsyntax, types, and APIs used by the driver and contrasting them with the Cversion will help illustrate those differences.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments