Hacker News new | past | comments | ask | show | jobs | submit login

> The implementations of C#/Go/Java are also 100% unsafe, as they're in the same boat.

No, because there are(will be in Go's case) meta-circular implementations available.

C and C++ aren't the only way to implement compilers.




That's the exact principle I'm talking about- meta-circular implementations shrink the amount of unsafe code and confine it to specific places where it can be better tested and checked.

Rust's unsafe-with-safe-interfaces style is just another way to do that, which honestly is a lot more straightforward.


That is how meta-circular implementations work anyway. You need to have some intrinsics for the really unsafe parts, or get them in Assembly.

Sorry for not getting your point fully.




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

Search: