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

Macros in Rust have nothing to do with memory safety. They're typically used for compile-time codegen (derive, println!) and very occasionally for syntactic abstraction (vec!).


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

Search: