Navigation
Recherche
|
[$] Capability analysis for the kernel
lundi 10 mars 2025, 15:42 , par LWN.net
One of the advantages of the Rust type system is its ability to encapsulate
requirements about the state of the program in the type system; often, this state includes which locks must be held to be able to carry out specific operations. C lacks the ability to express these requirements, but there would be obvious benefits if that kind of feature could be grafted onto the language. The Clang compiler has made some strides in that direction with its thread-safety analysis feature; two developers have been independently working to take advantage of that work for the kernel.
https://lwn.net/Articles/1012990/
Voir aussi |
56 sources (32 en français)
Date Actuelle
jeu. 13 mars - 01:18 CET
|