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

You could the same with C++ or Ada, but naturally it will never be a thing in Linux.


Ada can do that, but C++ arguably makes things even worse than in C: apart from supporting a subset of C's misbehavior, it introduces implicit-by-default converting constructors. Those make API misuse very easy.


Experience in Apple and Microsoft platforms, among others, shows otherwise.

And for info, Android Treble drivers are mostly C++, although Java is also an option.

Ah and Fuchsia is a mix of C++ and Rust at it lower layers.




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

Search: