Talking about how unsafe is not some new fancy rust feature and exists in other languages. Your comment makes it sound like the choice is some new wild computing concept.
Bruh do you actually not get it. The point of rust is that its memory safe(with a huge grain of salt in the case of low level programming) and is a language you can write kernels in. Youre not gonna write a kernel in C# so it doesnt really matter for a discussion about kernels.
Because Rust lets you choose when something is unsafe vs writing all unsafe in code all the time:
I wonder if this can be adjusted for LoC count in each language
Not sure if that’s a fair metric yet.
It’s not, I have no better idea
Yes same concept as other languages like C#
You go ahead and write an OS kernel in C# then.
Why the hell would you do that
Why would you bring up C# in a thread about kernel programming?
Talking about how unsafe is not some new fancy rust feature and exists in other languages. Your comment makes it sound like the choice is some new wild computing concept.
Bruh do you actually not get it. The point of rust is that its memory safe(with a huge grain of salt in the case of low level programming) and is a language you can write kernels in. Youre not gonna write a kernel in C# so it doesnt really matter for a discussion about kernels.
Here, someone already wrote a bare bones one. Of course that also uses an unsafe block lol