Navigation
Recherche
|
[$] FFI type mismatches in Rust for Linux
vendredi 11 octobre 2024, 15:56 , par LWN.net
At Kangrejos, Gary Guo wanted to discuss three problems with the way
Rust and C code in the kernel interact: mismatched types, too many type casts, and the overhead of helper functions. To fix the first two problems, Guo proposed changing the way the kernel maps C types into Rust types. The last problem was a bit trickier, but he has a clever workaround for that, based on tricking the compiler into inlining the helper functions across language boundaries.
https://lwn.net/Articles/993163/
Voir aussi |
56 sources (32 en français)
Date Actuelle
dim. 22 déc. - 19:05 CET
|