C++ lambdas as Brian Will's code blocks
use code block"
language feature
that works as
"an anonymous function that does not see anything in its enclosing scope"
and helps to better express the logic of a procedure
by structuring its name space.
Very similar scoping rules
apply to
C++ lambdas
that were introduced in the 2011 standard.
This post takes a look at
how lambdas can make
long procedures more readable and expressive.
full post#c++
Attribute
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.
full post#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
full post#electronics#tools
A Jekyll-based static website
with a fluid layout built on a fixed column grid.
It includes a couple project pages, a blog, 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.
project page
C++14 library for MSP430 and a better workflow for embedded programming.
project page
C++ library for working with OpenGL and data visualisation, somewhat similar to Glumpy in its object-oriented interface.
project page
C++ library for software performance studies.
project page