json-c/json-c is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.
Similar projects and alternatives to json-c
This is the official upstream of the Subsurface divelog program
The Go programming language
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Migrate C code to Rust
Unofficial mirror of sourceware glibc repository. Updated daily.
Rapid YAML - a library to parse and emit YAML, and do it fast.
FOMOS stands for: Free, Open source, Mobile, Operating, System.
Democratize dependency management.
I suck at writing programs using functions. Any resources?
reddit.com/r/C_Programming | 2021-04-16
Linus Torvalds on where Rust will fit into Linux
reddit.com/r/rust | 2021-03-23
How a Bad Random Number Generator Froze Sway (2020)
It seems json-c uses a random number generator to get a seed that it then uses for string hashing. This is one way of protecting yourself against hash denial-of-service attacks.
> [...] there's no guarantee that RDRAND won't revert to the -1 behavior after the check runs, perhaps after a VM migration or resume from suspend or what-not.
Author here. This is true and is an issue with some CPUs (breaking RDRAND after resume), but every call to RDRAND is guarded by a check that it works.
Parsing can become accidentally quadratic because of sscanf
news.ycombinator.com | 2021-03-01
I found this while making a collection of what C implementation does what at https://news.ycombinator.com/item?id=26298300 .
There are two basic implementation strategies. The BSD (FreeBSD and OpenBSD and more than likely NetBSD too), Microsoft, GNU, and MUSL C libraries use one, and suffer from this; whereas the OpenWatcom, P.J. Plauger, Tru64 Unix, and my standard C libraries use another, and do not.
The 2002 report in the comp.lang.c Usenet newsgroup (listed in that discussion) is the earliest that I've found so far.
There have been several assertions that library support for strings in C++ is poor. However, note that the fix here was to switch from the Standard C library function sscanf() to a C++ library.
One might advocate using other people's libraries, on the grounds that they will have got such things right. However, note that this is RapidYAML, and the bug got fixed several years after GTA Online was released. Other third-party parsing libraries have suffered from being layered on top of sscanf() in other ways.