5.1k sao GitHub và vẫn tăng — tboox/tbox là dự án C mà TopGit đang theo dõi trên nền tảng. 🎁 A glib-like multi-platform c library
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. 🙏 [Become a sponsor]
Introduction (中文)
TBOX is a glib-like cross-platform C library that is simple to use yet powerful in nature.
The project focuses on making C development easier and provides many modules (.e.g stream, coroutine, regex, container, algorithm ...),
so that any developer can quickly pick it up and enjoy the productivity boost when developing in C language.
It supports the following platforms: Windows, Macosx, Linux, Android, iOS, *BSD and etc.
And it provides many compiling options using xmake:
Release: Disable debug information, assertion, memory checking and enable optimization.
Debug: Enable debug information, assertion, memory checking and disable optimization.
Small: Disable all extensional modules and enable space optimization.
Micro: compiling micro library (~64K) for the embed system.
If you want to know more, please refer to: Documents, Github and Gitee
Features
The stream library
Supports file, data, http and socket source
Supports the stream filter for gzip, charset and...
Implements stream transfer
Implements the static buffer stream for parsing data
Supports coroutine and implements asynchronous operation
The coroutine library
Provides high-performance coroutine switch
Supports arm, arm64, x86, x86_64 ..
Provides channel interfaces
Provides semaphore and lock interfaces
Supports io socket and stream operation in coroutine
Provides some io servers (http ..) using coroutine
Provides stackfull and stackless coroutines
Support epoll, kqueue, poll, select and IOCP
Support to wait pipe, socket and process in coroutine and poller at same time
The database library
Supports mysql and sqlite3 database and enumerates data using the iterator mode
# build for the host platform
$ cd ./tbox
$ xmake
# build for the mingw platform
$ cd ./tbox
$ xmake f -p mingw --sdk=/home/mingwsdk
$ xmake
# build for the iphoneos platform
$ cd ./tbox
$ xmake f -p iphoneos
$ xmake
# build for the android platform
$ cd ./tbox
$ xmake f -p android --ndk=xxxxx
$ xmake
# build for the linux cross-platform
$ cd ./tbox
$ xmake f -p linux --sdk=/home/sdk # --bin=/home/sdk/bin
$ xmake
tboox/tbox có 5.1k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/tboox/tbox. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.