The UCW library aims to provide a set general purpose tools for programming in the C language. In other words, to make writing of complex and very efficient programs in plain C a pleasure.
It originated as a part of the Sherlock Holmes search engine, but it is now developed separately. However, the primary development motivation is still to serve the needs of projects demanding both extreme speed and elegance.
- Fast buffered IO
- Memory pools and other efficient memory allocators
- Generic data structures (e.g., heaps, search trees, growing buffers)
- Internal and external sorting routines
- Event loop (watching over file descriptors, sub-processes, timers, and signals)
- Configuration and logging system
- String routines
- Fast compression and checksums
- Transactions and exceptions
- Build system
- Documentation system
- Companion libraries for charset conversion, loading of images, and parsing of JSON and XML
- … and many more
You can browse LibUCW documentation online.
See the release notes for information on the latest release and recent changes.
The library can be distributed and used under the terms of GNU Lesser Public License (LGPL), either version 2 or any later version. Several modules are in public domain.
All bug reports, ideas for new features and other wishes are welcome at firstname.lastname@example.org. Patches are welcome even more ;-)
If you use the library to your pleasure, the authors will be glad to hear that at the same address.
LibUCW is accompanied by several other libraries, which you might find useful.
- libucw-json – a flexible JSON parser and formatter
- libucw-xml – a lightning fast and flexible XML parser
- libucw-charset – manipulation of character sets and UniCode categories [experimental]
- libucw-images – manipulation of images [experimental]