compile-time-init-build
function_ref
compile-time-init-build | function_ref | |
---|---|---|
10 | 3 | |
408 | 170 | |
5.5% | - | |
9.3 | 0.0 | |
3 days ago | over 2 years ago | |
C++ | C++ | |
Boost Software License 1.0 | Creative Commons Zero v1.0 Universal |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
compile-time-init-build
- C++ library for composing modular firmware at compile-time
- Cib: C++ library for composing modular firmware at compile-time
- Callbacks in embedded | heapless environment
-
Looking for well written, modern C++ (17/20) example projects for microcontrollers
cib: a hyper-modern way that intel is doing it's foundational infrastructure
- Cib – Compile-Time Initialization and Build
-
Future of embedded coding architecture
What are your thoughts about this CIB library by Intel, https://github.com/intel/compile-time-init-build I am interested to see if this is a generalized and good approach to use compile time polymorphism in MCUs.
- GitHub - intel/compile-time-init-build: C++ library for composing modular firmware at compile-time.
function_ref
-
Callbacks in embedded | heapless environment
function_view from binutils-gdb + it has good explanation and examples function_red by Su Brand - nice drop-in option
-
After years I learned that it's sometimes okay to declare a template member function in header and define it in source
One fix for that is to use a function_ref, I think 23 is getting one, but there's also implementations like https://github.com/TartanLlama/function_ref/ .
-
std::function optimization: clang 12 vs gcc 11.1
I don't want to dismiss the example in the context of the general question. I just want to say that, IMO, the same thing can be achieved with function_ref which is more light weight abstraction than std::function. If you don't want to implement it while waiting for the standard version, you can use existing libraries.
What are some alternatives?
amp-embedded-infra-lib - amp-embedded-infra-lib is a set of C++ libraries and headers that provide heap-less, STL like, infrastructure for embedded software development
binutils-gdb - Unofficial mirror of sourceware binutils-gdb repository. Updated daily.
cpp_stm32 - Pure c++17 implementation of stm32 driver
tinyusb - An open source cross-platform USB stack for embedded system
etl - Embedded Template Library
amp-hal-st - HAL implementation of the Embedded Infrastructure Library for ST microcontrollers
sml - C++14 State Machine library
cortex-m3-rtos - ARM Cortex-M3 Real-Time Operating System for educational purpose.
amp-devcontainer - amp-devcontainer is a fully loaded devcontainer useable for (embedded) C++ or Rust development
ardupilot - ArduPlane, ArduCopter, ArduRover, ArduSub source
SG14 - A library for Study Group 14 of Working Group 21 (C++)
low-power-speech-recognition - For the 2019 Oticon Audio Explorers Contest