News for hackers. Stuff that matters.
Re:“Fiercely resist any further broadening of the scope of t... by AlexandrB on Thursday April 14, 2016 @01:43PM (#11498853)
There were examples in the linked message board post [1]. Note how there is now a paragraph describing why the code is written with 4 casts instead of comparing pointers naively. Multiply this by hundreds of instances of similar code in a large code base.

[1] http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=tools/libx...

Re:“Fiercely resist any further broadening of the scope of t... by Kristine1975 on Friday April 15, 2016 @01:42AM (#11502442)
Why not just write a function is_ptr_less that does all the casts.

P.S: In C++ std::less is guaranteed to do the right thing(tm).