Effective use of multi spinner threads, different queues in ROS

Memory orderings for multi thread programming in C++

Photo by Andrew Ridley on Unsplash


As many know, since C++11, std::atomic<T> was introduced as a part of the standard library. Probably the most obvious part of the functionality is that each instantiated type of std::atomic<T> can be atomically operated on from different threads without causing any data race. But also, there is another aspect of…

add_subdirectory vs include, function vs macro in CMake


As you may already know, CMake is a popular open source tool that manages the build process of software.

Introduction of the popular meta-programming pattern


Templates are a useful feature with which we can define a generic function or a generic class that can be used with different types. Among all other cool things you can do with Templates, there is a popular templates technique called “detection idiom”.

Introduction of “type identity” trick and introduction of std::common_type

Photo by Markus Spiske on Unsplash


The terms endian and endianness refer to the convention that decides the ordering of bytes when processor stores a word data from its register to memory or the other way around, loads a word data from memory to its register. Word data is…

Photo by Harrison Broadbent on Unsplash

A short introduction of Conan package manager concepts and workflow


Explanation of advanced C++ templates concept “SFINAE”

Kohei Otsuka

Software architect in automotive industry. Interested in technology, Science. www.linkedin.com/in/kohei-otsuka-4362bbb5

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store