Re:Mark Russinovich: “Working towards enabling Windows drive...
by anon25783 on Sunday September 24, 2023 @02:37AM
(#37630678)
How would this work? And why would it be a better idea?
[ Parent
| on HN ]
Re:Mark Russinovich: “Working towards enabling Windows drive...
by mustache_kimono on Sunday September 24, 2023 @12:16PM
(#37634416)
> How would this work?
Don't know exactly what you're asking.
> And why would it be a better idea?
Poorly written device drivers are a significant attack vector. It's one of the reasons Linux is now exploring using Rust for its own device drivers.[0] You may be asking -- why Rust and not some other language? Rust has many of the performance and interoperability advantages of C and C++, but as noted, makes certain classes of memory safety issues impossible. Rust also has significant mindshare among systems programming communities.
Re:Mark Russinovich: “Working towards enabling Windows drive...
by anon25783 on Monday September 25, 2023 @12:55AM
(#37639790)
Yeah okay but device drivers in C#? That sounds very impractical when you could pick any other language. C, C++, Rust, D, Zig, Objective-C, all seem more suitable than C#. I agree with all that stuff you said about Rust; I was asking how drivers in C# would work