Our great sponsors
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
- SaaSHub - Software Alternatives and Reviews
-
This one might fit the bill https://github.com/libcpr/cpr
-
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
Magic Enum C++
Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
I'm not sure this is quite what you're asking for, but this library has been super helpful to me in the past : https://github.com/Neargye/magic_enum
-
I use the Frozen library for that. Since the conversions should be known at compile time you can make constexpr hash tables for lookups.
-
https://github.com/s9w/cheap is pretty basic but I had the same problem once
-
i'v tried to write http parser (it can only parse, socket and so on is external). tere is no enough time to test it well, but you can try. it's header only and uses only std.
-
sqlpp11 actually helps in this area (which imo is the most error prone area of using a database) and offers compile time query checking
-
Onboard AI
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
-
simdutf
Unicode routines (UTF8, UTF16, UTF32): billions of characters per second using SSE2, AVX2, NEON, AVX-512. Part of Node.js and Bun.
utf8 normalization, stemming, case insensitive comparison. https://github.com/unicode-rs example for rust What are options for C++? 1. translate to utf16 ( https://github.com/simdutf/simdutf ) and use icu -- slow 2. boost text, https://github.com/tzlaine/text , also slow (because the author doesn't care or couldn't care), we made a lot of patches to make our library faster than lucene, but still this part is slower than icu for utf16 (icu for utf16 also very slow...)
-
utf8 normalization, stemming, case insensitive comparison. https://github.com/unicode-rs example for rust What are options for C++? 1. translate to utf16 ( https://github.com/simdutf/simdutf ) and use icu -- slow 2. boost text, https://github.com/tzlaine/text , also slow (because the author doesn't care or couldn't care), we made a lot of patches to make our library faster than lucene, but still this part is slower than icu for utf16 (icu for utf16 also very slow...)
-
https://github.com/nlohmann/json works well for me
-
I wrote a modern iostreams library a while back that was born out of these exact same frustrations: https://github.com/Ryan-rsm-McKenzie/binary_io
-
-
SFML supports instantiating a rendering context from an existing OS-native window handle. I use said technique myself to support my screensaver rendering to the mini preview in the screensaver settings screen on macOS and Windows: https://github.com/saxbophone/hexago
-
I wrote a basic C library https://github.com/saxbophone/colrcv for it back in the day, but I am not a colour model expert and it doesn't support profiles, only conversion between models in D65. I wrote it because I looked at the profile-aware system for doing so and proceeded to get sad!
-
-
Take a look at Wt Webtoolkit. It can do exactly this (and a lot more) https://www.webtoolkit.eu/wt
-
IIRC I then switched to another library doing the same stuff: https://github.com/aantron/better-enums It is not as magical, as it uses a special macro to define the enum, using dedicated syntax. So it only works for enums you yourself define. However, it did work a lot better for me with enums with huge values.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives