Hacker News new | ask | show | jobs
by atiedebee 682 days ago
That's what zig did, and they solved the overflow problem by having seperate operators for addition and subtraction that guarantee that the number saturates/wraps on overflow.