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

Isn't the difference in it being required, and opt-out (unsafe) in rust, but opt-in here? Also, my understanding is the rust compiler guarantees "soundness" in safe rust, so it checks and validates that the function signatures (with annotations like lifetimes) are correct


Also Rust's macros are logically part of Rust whereas the C preprocessor knows nothing about the C language.

To say the C preprocessor complicates analysis is an understatement.




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

Search: