News for hackers. Stuff that matters.
Re:Zlib-rs is faster than C by kazinator on Monday March 17, 2025 @03:39PM (#43392018)
> clearly marked by the unsafe block.

Rust has macros; are macros prohibited from generating unsafe blocks, so that macro invocations don't have to be suspected of harboring unsafe code?

Re:Zlib-rs is faster than C by steveklabnik on Monday March 17, 2025 @04:55PM (#43392644)
No. Just like function bodies can contain unsafe blocks.