New C++ papers available
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/2018-02-pre-Jacksonville.htm …
What'll make it to C+20? 
-
-
Does the optimization really pay for the error-proneness in this case? Unsigned overflow is already well-defined, so it's inconsistent to have UB for signed. There are a lot of intentional overflow out there, waiting to be broken because of these UB-dependent optimizations.
-
That's why you should use unsigned integers when you need wrap around overflow behavior. Is the better performance worth the complications? Idk.. depends on what you are doing. But I have seen 10-20% improvements in performance critical code just from changing uint to int.
- Show replies
New conversation -
-
-
Differentiate pointer overflow (which I don’t touch) from missing optimizations on integers (which I touch).
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
