Add README.md for each library module documenting API, platform backends, and usage. Add .gitignore for build artifacts. Remove pre-built binaries from version control. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.8 KiB
1.8 KiB
ZUtil
C++ utility library providing RAII wrappers around the libsst C modules, plus custom containers, serialization, and logging.
Memory management
ZAlloc/ZAllocWindow-- tracked allocation with checkpoint supportZSlabAllocator-- slab-based allocatorZSmartPointer<T>(aliasZPtr<T>) -- thread-safe reference-counted smart pointerZWeakPointer<T>-- weak referencesZReferenceCounter,ZReferenceBuffer
Containers (ZSTL)
ZArray-- dynamic array with sort/search algorithmsZList-- linked list with algorithmsZHashMap-- hash tableZRingBuffer-- circular bufferZBasicString/ZString-- string with algorithmsZName-- immutable string with hash-cached comparisonZKVTree-- hierarchical key-value tree (path-addressable)ZRegistry-- thread-safe key-value store
Threading
ZThread-- base class withrun()override and request marshalingZMutex/ZLock-- RAII mutex and scoped lockZEvent,ZSemaphore,ZReadWriteLock-- RAII sync wrappersZTaskStream-- multi-threaded task execution withZFuture<R,A>
Serialization
ZBinaryReader/ZBinaryWriter-- abstract binary I/OZBinaryBufferReader/ZBinaryBufferWriter-- in-memory binary streamsZBinaryFileReader/ZBinaryFileWriter-- file-backed binary streamsZXMLReader/ZXMLWriter-- XML via ZKVTreeZJSONReader/ZJSONWriter-- JSON via ZKVTreeZIniReader/ZIniWriter-- INI format
Logging
ZLog-- thread-safe, multi-file logging with severity levels- Macros:
SystemLogError,SystemLogWarning,SystemLogInfo,SystemLogSpam
Utilities
ZRandomGenerator-- PRNG wrapper with Gaussian supportZSimplexNoise/ZSimplexNoiseMap-- noise generationZAssert-- debug/runtime assertion macrosZBitmap-- bitmap data structure