Mensajes en el blog

Null Pointer Dereferencing Causes Undefined Behavior

I have unintentionally raised a large debate recently concerning the question if it is legal in C/C++ to use the &P->m_foo expression with P being a null pointer.

Autor Andrey Karpov (Blackbelt) Última actualización 30/05/2018 - 07:08
Mensajes en el blog

The Last Line Effect

Autor Andrey Karpov (Blackbelt) Última actualización 30/05/2018 - 07:00
Mensajes en el blog

The JITter Conundrum - Just in Time for Your Traffic Jam

In interpreted languages, it just takes longer to get stuff done - I earlier gave the example where the Python source code a = b + c would result in a BINARY_ADD byte code which takes 78 machine instructions to do the add, but it's a single native ADD instruction if run in compiled language like C or C++. How can we speed this up? Or as the performance expert would say, how do I decrease...
Autor David S. (Blackbelt) Última actualización 15/10/2019 - 19:42