Useful C Libraries
This is a collection of libraries for use in C programming.
A library of Bit Twiddling HacksA page of optimized code snippets for manipulating bitsrapidly, collected and documented by
Sean Eron Anderson. Most of the code is in the public domain, except where noted.Augmented Reality ARToolkitARToolKit is a software library for building Augmented Reality (AR) applications that overlayvirtual imagery on the real world.Libmspack - GNU Library for reading Microsoft compressed FilesThe purpose of libmspack is to provide both compression and decompression of some looselyrelated file formats used by Microsoft.Libtpl - a Serializing LibraryThe tpl library provides a way to store and reload your C data quickly and easily. It works withfiles, memory buffers and file descriptors so it can be used as a file format, IPC message formator anywhere you need to store and retrieve your data.LibUnwind - View the Stack ContentsThis is a portable C API to determine the call-chain of a program. The API also provides themeans to manipulate the saved state of each call-frame and to resume execution at any point inthe call-chain (non-local goto). The API supports both local (same-process) and remote (across- process) operation.Protobuf-c - Using Google's Protobuf in CProtcol Buffers are a way of encoding structured data in an efficient yet extensible format.Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.However They are for C++ and other languages. Protobuf-c lets yo use them in C.
Bit Twiddling Hacks
By Sean Eron Andersonseander@cs.stanford.edu
code snippets here are in the public domain
(unless otherwise noted)— feel free to use them however you please. The aggregate collection and descriptions are© 1997-2005 Sean Eron Anderson. The code and descriptions are distributed in the hopethat they will be useful, but
WITHOUT ANY WARRANTY
and without even the impliedwarranty of merchantability or fitness for a particular purpose. As of May 5, 2005, all thecode has been tested thoroughly. Thousands of people have read it. Moreover,ProfessorRandal Bryant, the Dean of Computer Science at Carnegie Mellon University, has personallytested almost everything with hisUclid code verification system. What he hasn't tested, I