News for hackers. Stuff that matters.
Re:Rust vs C Pitfalls by steveklabnik on Tuesday December 27, 2016 @08:23PM (#13267750)
> (does the snippet I provided panic at 1<<32 or 1<<34?).

Overflow is a "program error", and in debug builds, is required to panic. In other builds, if it does not panic, it's required to two's compliment overflow. Rustc currently just overflows, but in the future, we'll see.

That's true except our 16 bit support is nonexistant at the moment :)

Re:Rust vs C Pitfalls by zerofan on Tuesday December 27, 2016 @08:33PM (#13267785)
> That's true except our 16 bit support is nonexistant at the moment :)

If you pay attention to your usage statistics, I'll bet you drop 32 bit support before the May 2025 deadline we were discussing in the other thread.

Re:Rust vs C Pitfalls by steveklabnik on Tuesday December 27, 2016 @09:00PM (#13267885)
We'll see!