Giter Club home page Giter Club logo

libsg's Introduction

Overview

libsg (library sigma) is a cross-platform C utility library focusing on usability.

Idea

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.

Todo list

Add CMake script.

Add http server / kcp / tcp modules.

Release version 0.1.

...

Download releases

Modules

####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...

Supported Platforms

Linux / Windows / OS X

Build Instructions

Linux

Windows

OS X

  1. brew is recommended for installing the dependencies, please visit http://brew.sh for setup brew.

  2. Use brew to install dependencies, take libuv as an instance:

     $ brew install libuv
    
  3. Run follow command in project directory to generate XCode project:

     $ cmake -G'Xcode'
    
  4. open the generated project file libsg.xcodeproj by XCode, build and enjoy it.

API document

Demo

Code specification

Linux kernel style.

Contact

email: [email protected]

QQ group: 556925561

Contributors

metalwood ([email protected])

cole_yang ([email protected])

canmor ([email protected])

...

libsg's People

Contributors

canmor avatar

Watchers

bxvs888 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.