libsg (library sigma) is a cross-platform C utility library focusing on usability.
C language is gradually being forgotten, how to make C programing easier?
1, Do not reinvent wheels, encapsulate good wheels.
2, Using C to build important infrastructure, not everything.
Add CMake script.
Add http server / kcp / tcp modules.
Release version 0.1.
...
####sys atom, mutex, rwlock, spin_lock, memory, module, os, proc, time, file, flag, shell, sleep, thread, ntp
####str charset, regex, json, sprintf, vlstr(variable length string), xml, msgpack, bson
####net tcp, tcp_server, udp, udp_server, rudp(reliable udp), rudp_server, http, http_server, kcp, kcp_server, websocket, ftp, email, rtmp, ip...
####db mysql, mongodb, redis, sqlite, postgresql,unqlite...
####container ring_buf, list, queue, blocking_queue...
####compress zip, gzip, md5, sha1...
####crypt ...
####media capture_v, capture_a,
####math number, uuid
####platform windows/dial...
####util assert, dump, log...
Linux / Windows / OS X
-
brew is recommended for installing the dependencies, please visit http://brew.sh for setup brew.
-
Use brew to install dependencies, take libuv as an instance:
$ brew install libuv
-
Run follow command in project directory to generate XCode project:
$ cmake -G'Xcode'
-
open the generated project file
libsg.xcodeproj
by XCode, build and enjoy it.
Linux kernel style.
email: [email protected]
QQ group: 556925561
metalwood ([email protected])
cole_yang ([email protected])
canmor ([email protected])
...