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

    From LWN.net@1337:1/100 to All on Fri Jun 27 18:00:08 2025
    [$] How to write Rust in the kernel: part 2

    Date:
    Fri, 27 Jun 2025 16:55:04 +0000

    Description:
    In 2023, Fujita Tomonori wrote a Rust version of the existing driver for the Asix 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 for
    the differences between writing Rust and C in the kernel. Looking at the Rust syntax, types, and APIs used by the driver and contrasting them with the C version will help illustrate those differences.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/1025232/


    --- Mystic BBS v1.12 A47 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)