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
- … 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.
The package also contains several other libraries from the Sherlock Holmes project, which you might find useful. So far, they are completely optional and not much documented.
- libucw-charset – manipulation of character sets and UniCode categories
- libucw-images – manipulation of images
- libucw-xml – a lightning fast and flexible XML parser