GNU uCommon C++: Lightweight Telephony Runtime
Technical documentation for GNU uCommon C++, the lightweight, high-performance C++ runtime library developed to power GNU SIP Witch and embedded real-time communications.
Historical Framework Reference
GNU uCommon C++ was the runtime platform for SIP Witch and later GNU Telephony tools.
§1Philosophy & Memory Design
GNU uCommon C++ was designed specifically for embedded telecommunications appliances and high-concurrency servers. Key innovations included: - Memory Pools (`ucommon::memalloc`): Ultra-fast regional allocators that eliminate heap fragmentation during high-volume call setups and teardowns. - Clean Modern Idioms: Elimination of deep inheritance trees in favor of composition and fast, lightweight structs. - Native Unicode Support: Comprehensive UTF-8 string handling and internationalization primitives. - Micro-Threading & Async Sockets: Event loops optimized for low-latency network I/O.
§2Included Command-Line Utilities
uCommon distributed several valuable command-line tools for telephony administrators: - `scrub-files`: Secure file erasure utility complying with DoD data wiping standards. - `zerofill`: Fast partition sanitizer for server decommissioning. - `sockaddr`: Network diagnostic tool for resolving SIP multi-homed interfaces and CIDR subnets.
This page reconstructs material originally published at gnutelephony.org. It has been formatted and annotated for archival preservation.
Historical source: GNU uCommon C++. Reproduced or adapted under the GNU Lesser General Public License (LGPL) 3.0 or later where stated.
Historical revision date: 2008-04-12 (Revised 2015-10-18). Restored to permanent static archive in October 2026.