High-performance header-only container library for C++23 on x86-64
https://github.com/kressler/fast-containers
#HackerNews #HighPerformance #C++23 #Containers #HeaderOnly #x86_64 #FastContainers
High-performance header-only container library for C++23 on x86-64
https://github.com/kressler/fast-containers
#HackerNews #HighPerformance #C++23 #Containers #HeaderOnly #x86_64 #FastContainers
Value semantics at scale with #Cpp
https://github.com/arximboldi/immer
#rustlang equivalent https://github.com/orium/rpds
should not be too difficult to make #RStats bindings of any of the two
#immutability #headerOnly #Cpp14
I built Archetype, a C++11 header-only library that gives you type-erased views over any object implementing a given interface — all verified with SFINAE at compile time.
Useful for embedded, plugin architectures, and clean modular APIs.
📦 https://github.com/williamhaarhoff/archetype
#cplusplus #cpp11 #typeerasure #embedded #headeronly #opensource
Easy alternative to giflib – header-only decoder in C
#HackerNews #EasyAlternative #giflib #CDecoder #HeaderOnly #TurboStitchGIF
TurboStitchGIF: A fast, header-only C GIF decoder without dynamic allocations, ideal for embedded systems and cross-platform projects. - Ferki-git-creator/TurboStitchGIF-HeaderOnly-Fast-ZeroAllocat...
How on earth do you maintain a library where all the code is contained in one 12K LOC file?
Знайшов ще одну не погану C++ бібліотеку для розбору вхідних аргументів програми. Називається TCLAP (Templatized C++ Command Line Parser). Вона є header-only тому зібрати набагато простіше, але мені таке не дуже подобається. Подивитись більше інформації з прикладами можна тут. Поширюється бібліотека під ліцензією MIT.
На жаль стандартне форматування помилок, довідки й версії не дуже звичне, але досить просто можна замінити на своє власне. Також було б непогано додати сучасні constexpr і таким чином пришвидшити виконання. А якщо у C++26 нарешті зʼявиться рефлексія. А з використанням C++23 можна було б замінити динамічний поліморфізм на статичний (CRTP). Ну це я вже дуже розмріявся.
#cpp #cxx #argv #args #parsing #parser #cli #lib #library #tclap #headeronly
Whoever brought #HeaderOnly libraries to C++ shall be forever banned from any computer. What a nasty person!
Announcing a new #cxxomfort release. Cxxomfort is a C++ library that backports various features from newer releases of the language to older releases.
2020-02-27: the "27F" Release:
http://ryan.gulix.cl/fossil.cgi/cxxomfort/info/4dad71eb2a7ac367