Overview of TBOX cross-platform library
devTBOX is a cross-platform development library implemented in C. It provides unified interfaces for various platform-specific operations, allowing developers to focus on application logic rather than interface compatibility. It supports multiple platforms including Windows, macOS, Linux, Android, iOS, and *BSD.
Key features include:
- Stream Library: Unified interface for HTTP, file, socket, and data streams with support for blocking, non-blocking, and asynchronous modes.
- Coroutine Library: High-performance coroutine switching (supporting x86, x86_64, arm, arm64, mips32) with channel-based communication and native support for sockets and streams.
- Database Support: Unified interface for SQLite3 and MySQL via URL-based connections.
- XML/JSON/Object Support: DOM/SAX XML parsing and an object library (similar to Apple's CoreFoundation) for handling various serialization formats.
- Memory Management: Custom memory pool architecture with leak and overflow detection in debug mode.
- Networking: HTTP client, DNS caching, and SSL support (OpenSSL, PolarSSL, mbedtls).
- Utility Modules: Containers (hash, list, array, etc.), algorithms, math, regex, and bit manipulation.