Navigation
Recherche
|
[$] A memory model for Rust code in the kernel
mercredi 3 avril 2024, 16:36 , par 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/
|
56 sources (32 en français)
Date Actuelle
ven. 22 nov. - 00:46 CET
|