News for hackers. Stuff that matters.
Re:C++23: The Next C++ Standard by ksherlock on Tuesday July 11, 2023 @04:54PM (#36687084)
Consider the humble + operator. In most compiled languages -- even those that don't support operator overloading -- it is in fact overloaded. int + int. long + long. float + float. double + double. pointer + int. Would every language be better with it?

Built in operators don't always map 1-1 to CPU instructions so don't appeal to that authority. There are still plenty of CPUs -- old and new -- without multiplication, division, or floating point support.

There are no comments on this comment yet.