Navigation
Search
|
[$] A memory model for Rust code in the kernel
Wednesday April 3, 2024. 04:36 PM , from LWN.net
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.
https://lwn.net/Articles/967049/
|
25 sources
Current Date
Nov, Thu 21 - 20:23 CET
|