• [$] A memory model for Rust code in the kernel

    From LWN.net@1337:1/100 to All on Wed Apr 3 14:45:05 2024
    [$] A memory model for Rust code in the kernel

    Date:
    Wed, 03 Apr 2024 14:36:13 +0000

    Description:
    The Rust programming language differs from C in many ways; those
    differences tend to be what users admire in the language. But those differences can also lead to an impedance mismatch when Rust code is
    integrated into a C-dominated system, and it can be even worse in the
    kernel, which is not a typical C program. Memory models are a case in
    point. A programming language's view of memory is sufficiently fundamental
    and arcane that many developers never have to learn much about it. It is
    hard to maintain that sort of blissful ignorance while working in the
    kernel, though, so a recent discussion of how to choose a memory model for kernel code in Rust is of interest.

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


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