/ldry

Laundry: Don't Repeat Yourself - modular C library of useful macros and functions

Primary LanguageC++OtherNOASSERTION

ldry - Laundry: do not repeat yourself

A modular C/C++ library implementing well defined pieces of functionality that should only be written once but could be used across lots of projects. Mostly C macros in header-only libraries with no external dependencies and very few dependencies on other headers in ldry.

Currently implemented functionality:

  • function overloading in C
  • string operation macros
  • debug macros
  • mark branches as likely/unlikely
  • bit operation macros
  • importing private kernel symbols macros
  • wrapper for pragmas to stop warnings on selected unused variables

TODOs (lc525): add ring buffer implementation based on the LMAX Disruptor (lc525): add kernel macros for working with per-cpu hashes