News for hackers. Stuff that matters.
Re:Ask HN: Modern C Libraries by krapp on Friday October 14, 2022 @10:08PM (#33210948)
If you want a comfortable developer experience without having to "develop standard functionality," choose another language. C is the "now code the rest of the owl" of programming languages.

Otherwise: libcurl for the requests, json-c[0] for the JSON handling. SDL2[1] for window handling/events/other glue stuff if necessary. I don't know what rocksdb is but I assume it has its own C API library.

[0]https://github.com/json-c/json-c

[1]https://github.com/libsdl-org/SDL

Re:Ask HN: Modern C Libraries by sargstuff on Friday October 14, 2022 @10:25PM (#33211082)
Go the traditional route:

Use gawk with curl/json extensions.

Develop gawk C api for rockdb or dump to file & upload data file to rockdb.

Use emscript compiled gawk in tab in web browser for gui / platform independence.

Re:Ask HN: Modern C Libraries by sargstuff on Friday October 14, 2022 @11:00PM (#33211302)
The JavaScript compilation of GNU awk that can be run in browser and NodeJS. https://github.com/petli-full/awkjs
Re:Ask HN: Modern C Libraries by sargstuff on Friday October 14, 2022 @11:33PM (#33211478)
Regular expressions library to validate information before dumping to rocksdb.

https://www.gnu.org/software/libc/manual/html_node/Regular-E...

Non-critical implimentation fun, use cello [1] for 'gawk' functionality in C with C++ objects/classes.

Compile C program with emscripten for use in web broswer for 'gui' & 'portability'!

[1] https://libcello.org/