Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by jordan_bonecut

23 days ago

Overflow is allowed. Overflow behavior is unspecified, like C++

2 comments

jordan_bonecut

Reply

renox  22 days ago

Which contradicts the claim 'safer than Rust' given that in Rust it either panic or wrap.

jordan_bonecut  23 days ago

If you want to assume that overflow wraps either:

Your hardware does this OR You implement it in software

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities