News for hackers. Stuff that matters.
Re:Show HN: Drogon – A C++14/17 based high performance HTTP ... by vardump on Tuesday March 19, 2019 @11:58AM (#19432042)
> it crashes in debug mode, and wraps (two's complement) in release mode.

Well, that's indeed a nice feature in debug mode. Mostly wraparound is undesired and wraparound bugs are pretty common. Shame the performance cost is too much to do same in release.

Whenever wraparound semantics it is actually wanted, one can use an appropriate type.

There are no comments on this comment yet.