Memory safety for the world’s largest software project
memorysafety.org
Memory safety for the world’s largest software project
1–10 of 62 posts
Re: Memory safety for the world’s largest software project
#2Re: Memory safety for the world’s largest software project
#3So, when Rust is actually in the kernel would it be possible for some C based routines to call them? Like the article seems to mention things I've seen as "helper" functions, so a mostly C module can get some memory safe benefits? Or do whole components need to be rewritten?
Re: Memory safety for the world’s largest software project
#4So, when Rust is actually in the kernel would it be possible for some C based routines to call them? Like the article seems to mention things I've seen as "helper" functions, so a mostly C module can get some memory safe benefits? Or do whole components need to be rewritten?
Re: Memory safety for the world’s largest software project
#5So, when Rust is actually in the kernel would it be possible for some C based routines to call them? Like the article seems to mention things I've seen as "helper" functions, so a mostly C module can get some memory safe benefits? Or do whole components need to be rewritten?
Theoretically yes, rust binaries can have C-apis and other code can call them just fine.
Re: Memory safety for the world’s largest software project
#6So, when Rust is actually in the kernel would it be possible for some C based routines to call them? Like the article seems to mention things I've seen as "helper" functions, so a mostly C module can get some memory safe benefits? Or do whole components need to be rewritten?
Re: Memory safety for the world’s largest software project
#7So, when Rust is actually in the kernel would it be possible for some C based routines to call them? Like the article seems to mention things I've seen as "helper" functions, so a mostly C module can get some memory safe benefits? Or do whole components need to be rewritten?
Re: Memory safety for the world’s largest software project
#8Re: Memory safety for the world’s largest software project
#9Re: Memory safety for the world’s largest software project
#10Earlier quoted context omitted.
Theoretically yes, rust binaries can have C-apis and other code can call them just fine.
With the caveat that, naturally, these APIs can only expose concepts that C can understand, so you're a bit limited. No generics, for example.