Comment on Ask HN: Anyone else use FreePascal as their low level language?parentComments−omnicognate10moYou can get very low-level in C# but at the point you start using unsafe the nature of the language changes very suddenly.Unsafe C# is the most unsafe language I've ever worked with. Really terrifying stuff.−zigzag31210moFortunately, there have been a lot of improvements to low-level C# since v7 that make unsafe unnecessary in a lot of situations. E.g. ref structs, ref local variables, ref returns, stackalloc improvements etc.There's an interesting comparison of these C# features with Rust: https://em-tg.github.io/csborrow/
Comments
You can get very low-level in C# but at the point you start using unsafe the nature of the language changes very suddenly.
Unsafe C# is the most unsafe language I've ever worked with. Really terrifying stuff.
Fortunately, there have been a lot of improvements to low-level C# since v7 that make unsafe unnecessary in a lot of situations. E.g. ref structs, ref local variables, ref returns, stackalloc improvements etc.
There's an interesting comparison of these C# features with Rust: https://em-tg.github.io/csborrow/