Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 C++ JSON Projects
-
simdjson
Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
manticoresearch
Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon
-
POCO
The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
widelands
Widelands is a free, open source real-time strategy game with singleplayer campaigns and a multiplayer mode. The game was inspired by Settlers II™ (© Bluebyte) but has significantly more variety and depth to it.
-
StringZilla
Up to 10x faster strings for C, C++, Python, Rust, and Swift, leveraging SWAR and SIMD on Arm Neon and x86 AVX2 & AVX-512-capable chips to accelerate search, sort, edit distances, alignment scores, etc 🦖
-
lithium
Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium
-
Cutelyst
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
-
Vince's CSV Parser
A modern C++ library for reading, writing, and analyzing CSV (and similar) files. (by vincentlaucsb)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
I have not done a "desktop" program in 25+ years and never using C++ (or C), since then I'm mostly a web developer (PHP,Elixir, JS, Kotlin etc).
I'm currently doing a C++ audio plugin with the Juce framework.
This website has been a good resource, alongside https://www.learncpp.com
But I was actually close to give up before using those two things:
- https://github.com/nlohmann/json : my plugin use a json api backend and the Juce json implementation is atrocious (apparently because of being born in previous c++ version), but this library is GREAT.
- ChatGPT 4. I'm not sure I would have "succeeded" without it, at least not in a reasonable time frame. ChatGPT 3.5 is slow and does not give good results for my use case but 4 is impressive. And I use in a very dumb way, just posing question in the web UI. I probably could have it directly in MSVC?
Also I must say, for all its flaws, I have a renewed appreciation for doing UI on the web ;)
Project mention: Tips on adding JSON output to your command line utility. (2021) | news.ycombinator.com | 2024-04-20It's also supported by simdjson [0] (which has a lot of language bindings [1]):
> Multithreaded processing of gigantic Newline-Delimited JSON (ndjson) and related formats at 3.5 GB/s
[0] https://simdjson.org/
[0] https://github.com/simdjson/simdjson?tab=readme-ov-file#bind...
Note, you need to do it in the root folder of a clone from https://github.com/manticoresoftware/manticoresearch
We tried using pywebview for a cross-platform desktop app when it was version 3.x and some of the features were limited, especially when it came to systray interactions. Will have to try it out again. In the end, for that specific project, we ended up settling on NeutralinoJS. Wails was another big contender but due to limited GoLang resources in-house, we decided not to use it. Reference: https://neutralino.js.org/
Project mention: Measuring energy usage: regular code vs. SIMD code | news.ycombinator.com | 2024-02-19The 3.5x energy-efficiency gap between serial and SIMD code becomes even larger when
A. you do byte-level processing instead of float words;
B. you use embedded, IoT, and other low-energy devices.
A few years ago I've compared Nvidia Jetson Xavier (long before the Orin release), Intel-based MacBook Pro with Core i9, and AVX-512 capable CPUs on substring search benchmarks.
On Xavier one can quite easily disable/enable cores and reconfigure power usage. At peak I got to 4.2 GB/J which was an 8.3x improvement in inefficiency over LibC in substring search operations. The comparison table is still available in the older README: https://github.com/ashvardanian/StringZilla/tree/v2.0.2?tab=...
I've used picojson. What makes it pretty awesome is it's completely contained into a single H file.
Project mention: How to add runtime dependencies to flake so they can be found (gtkmm4, shared-mime-info)? | /r/NixOS | 2023-05-11For me it just fails on dpp wrap file not containing a valid URL. And if I change it to https://github.com/brainboxdotcc/DPP, it fails on the repo not containing a meson.build file. And if I comment out the dependency it fails due to non-existent include/ directory. And if I comment that out, it succeeds just fine.
C++ JSON related posts
- Tips on adding JSON output to your command line utility. (2021)
- Training great LLMs from ground zero in the wilderness as a startup
- simdjson: Parsing Gigabytes of JSON per Second
- Learn Modern C++
- Cray-1 performance vs. modern CPUs
- fleece: A super-fast, compact, JSON-equivalent binary data format
- Codebases to read
-
A note from our sponsor - InfluxDB
www.influxdata.com | 29 Apr 2024
Index
What are some of the best open-source JSON projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | json | 40,239 |
2 | simdjson | 18,386 |
3 | RapidJSON | 13,852 |
4 | manticoresearch | 8,314 |
5 | POCO | 7,895 |
6 | JsonCpp | 7,858 |
7 | neutralinojs | 7,238 |
8 | ArduinoJson | 6,554 |
9 | yaml-cpp | 4,788 |
10 | R3nzSkin | 4,514 |
11 | coost | 3,825 |
12 | widelands | 1,937 |
13 | StringZilla | 1,791 |
14 | Inja | 1,539 |
15 | tomlplusplus | 1,400 |
16 | TreeFrog Framework | 1,255 |
17 | lithium | 1,222 |
18 | PicoJSON | 1,085 |
19 | DPP | 943 |
20 | libjson-rpc-cpp | 938 |
21 | glaze | 894 |
22 | Cutelyst | 881 |
23 | Vince's CSV Parser | 824 |
Sponsored