Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
beached_whale
on Dec 11, 2022
|
parent
|
context
|
favorite
| on:
Zero-Cost Well-Defined Signed Integer Overflow in ...
I think Rust will trap, unless explicitly asked for, in debug and wrap on overflow in release.
bestouff
on Dec 11, 2022
[–]
Yes and you can alter this behavior either globally (with compile options) or locally (by using specific types).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: