Likely in C++
[[likely]]
is a good minimal example
of how software can leverage processor features to achieve maximum performance
by providing more information about the program to the compiler.
This post shows an example how [[likely]] affects
compiled machine code,
discusses how it improves utilisation of CPU branch predictors,
and brings up a couple topics in C++ program design where it is useful.
rest>>#c++#cpu#performance
"The Bus Pirate is an open source hacker multi-tool that talks to electronic stuff."
An excellent tool. The post puts together a couple basics
of how Bus Pirate 3.6 works
and how to talk to an I2C bus with it.
As an example,
how to read the ID register 0xD0 of the barometric sensor BMP280 from Bosch.
Bus Pirate 3.6 and I2C
rest>>#electronics#tools
Quite productive week in a workshop on building the future ATLAS ITk Strips detector
A visit to DESY Hamburg
rest>>#physics#Germany
The website:
a static Jekyll website
with an adjustable grid-based layout.
It contains a blog, a bunch of project pages, and an index page.
A prototype Python project that makes useful graphs of C++ CMake projects from the codemodel info provided by the CMake file API. It handles clusters of dense dependencies among CMake targets.
rest>>
C++14 library for MSP430 and a better workflow for embedded programming.
rest>>
C++ library for working with OpenGL and data visualisation, somewhat similar to Glumpy in its object-oriented interface.
rest>>
C++ library for software performance studies.
rest>>