All Projects → vurtun → Lib

vurtun / Lib

single header libraries for C/C++

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Lib

Treefrog Framework
TreeFrog Framework : High-speed C++ MVC Framework for Web Application
Stars: ✭ 885 (+2.19%)
Mutual labels:  json, webserver
Jsonschema Key Compression
Compress json-data based on its json-schema while still having valid json
Stars: ✭ 59 (-93.19%)
Mutual labels:  json, compression
Esp8266 Wifi Relay
simple sketch of using ESP8266WebServer to switch relays on GPIO pins. It serves a simple website with toggle buttons for each relay
Stars: ✭ 13 (-98.5%)
Mutual labels:  json, webserver
Sdefl
Small inflate/deflate implementation in ~300 LoC of ANSI C
Stars: ✭ 120 (-86.14%)
Mutual labels:  compression, ansi
Zson
ZSON is a PostgreSQL extension for transparent JSONB compression
Stars: ✭ 385 (-55.54%)
Mutual labels:  json, compression
Facil.io
Your high performance web application C framework
Stars: ✭ 1,393 (+60.85%)
Mutual labels:  json, webserver
Jsoncrush
Compress JSON into URL friendly strings
Stars: ✭ 1,071 (+23.67%)
Mutual labels:  json, compression
Ems
Extended Memory Semantics - Persistent shared object memory and parallelism for Node.js and Python
Stars: ✭ 552 (-36.26%)
Mutual labels:  multithreading, json
Cppwebframework
​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
Stars: ✭ 348 (-59.82%)
Mutual labels:  json, webserver
Zipson
JSON parse and stringify with compression
Stars: ✭ 229 (-73.56%)
Mutual labels:  json, compression
Jtc
JSON processing utility
Stars: ✭ 425 (-50.92%)
Mutual labels:  multithreading, json
Bludit
Simple, Fast, Secure, Flat-File CMS
Stars: ✭ 824 (-4.85%)
Mutual labels:  json, webserver
B0pass
百灵快传:基于Go语言的高性能 "手机电脑超大文件传输神器"、"局域网共享文件服务器"。LAN large file transfer tool。
Stars: ✭ 836 (-3.46%)
Mutual labels:  webserver
Realm.json.extensions
Extension Methods for adding JSON APIs to a Realm Instance
Stars: ✭ 9 (-98.96%)
Mutual labels:  json
Nippy
High-performance serialization library for Clojure
Stars: ✭ 838 (-3.23%)
Mutual labels:  compression
Blink
A high performance web framework and application server in PHP.
Stars: ✭ 837 (-3.35%)
Mutual labels:  webserver
Instanote
Note keeping done in PHP 5.2 and JSON
Stars: ✭ 11 (-98.73%)
Mutual labels:  json
Puma
A Ruby/Rack web server built for parallelism
Stars: ✭ 6,924 (+699.54%)
Mutual labels:  multithreading
Worker Threads Nodejs
Benchmark nodeJS worker threads for calculating prime numbers, using various dataStructures
Stars: ✭ 27 (-96.88%)
Mutual labels:  multithreading
Scn
Scale-wise Convolution for Image Restoration
Stars: ✭ 26 (-97%)
Mutual labels:  compression

mmx

My single header libraries for C/C++.

library lastest version category LoC license description
json.h 1.00 parser 848 zlib non-allocating json parser
sched.h 1.00 multithreading 699 zlib multithreaded task scheduler
web.h 1.00 network 1455 BSD lightweight webserver
sdefl.h 1.00 compression 525 public domain deflate compressor
sinfl.h 1.00 decompression 320 public domain deflate decompressor

Total libraries: 5
Total lines of C code: 4487

FAQ

Why single-file headers?

Windows doesn't have standard directories where libraries live. That makes deploying libraries in Windows a lot more painful than open source developers on Unix-derivates generally realize. (It also makes library dependencies a lot worse in Windows.)

There's also a common problem in Windows where a library was built against a different version of the runtime library, which causes link conflicts and confusion. Shipping the libs as headers means you normally just compile them straight into your project without making libraries, thus sidestepping that problem.

Making them a single file makes it very easy to just drop them into a project that needs them. (Of course you can still put them in a proper shared library tree if you want.)

Why not two files, one a header and one an implementation? The difference between 10 files and 9 files is not a big deal, but the difference between 2 files and 1 file is a big deal. You don't need to zip or tar the files up, you don't have to remember to attach two files, etc.

Where is the documentation?

Each file has documentation, basic ussage description and examples at the top of the file. In addition each API function, struct and member variables are documented as well. Finally each library has a corresponding test file inside the test directory for additional working examples.

Why C?

Personally I primarily use C instead of C++ and since I want to support both C and C++ and C++ is not useable from C I therefore focus on C.

Why C89?

I use C89 instead of C99/C11 for its portability between different compilers and accessiblity for other languages.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].