Posts

  • Reinterpet_cast, UB and a Pointer Type Casting in C++17

    Let’s have a closer look at reinterpet_cast<>() expression in C++ and find out why it’s a frequent source of a dangerous thing called undefined behavior (UB). Then while skimming through wonders and reliability of UB Sanitizer -fsanitize=undefined, we’ll design a UB-free solution on how to deal with an object when all you have is its byte representation (aka char* pointer to it) .

  • Reflections on completing Google Foobar Challenge

    I’ve recently completed all 5 levels of a Google Foobar Coding Challenge and would like to share a few reflections on that.

subscribe via RSS