Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How would this work? And why would it be a better idea?


> 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.

[0]: https://rust-for-linux.com


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


Like this, for a possible example,

https://github.com/WildernessLabs/Meadow.Foundation




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: