A C11 library of reusable data structures and platform utilities, plus a Python-inspired dynamic runtime for scripting-style C programs. - GitHub - rkriad585/Abscom: A C11 library of reusable data structures and platform utilities, plus a Python-inspired dynamic runtime for scripting-style C programs.
Framer AI AgentsDesign and publish professional sites with AI
Promoted
Maker
📌
Abscom bundles low-level building blocks — dynamic arrays, growable strings, hash functions, an open-addressing hash map, timing helpers, and simple file I/O — under a single umbrella header. On top of that it ships a Python-inspired dynamic runtime that brings var values, lists, dictionaries, sets, JSON, random utilities, and a light object system to plain C, plus a scientific layer with matrices, statistics, general math (scalar utilities, number theory, geometry, complex numbers), CSV, path helpers, and basic threading. A data science layer adds NumPy-style reshaping and generators, Pandas-style numeric CSV, functional utils, and SciKit-Learn-style preprocessing (one-hot encoding, train/test split). An AI/ML layer adds activations, softmax, MSE loss, and numerical gradients for neural-network forward passes. An ultimate layer tops the scientific stack off with computational backend selection (CPU / AVX SIMD / GPU stub), a Micrograd-style scalar autograd engine, PPM image loading, saving, and convolution, ASCII and SVG plotting, and a mixed-type DataFrame. A spatial math layer adds modern type aliases (Rust/NumPy style), anonymous-union 2D/3D/4D vectors, fixed-size matrices, and quaternions. A macro-utilities suite adds min/max/clamp, interpolation and smoothstep curves, generic swap, array/struct introspection, bitwise and alignment helpers, and AI activation macros. A language-features layer adds exceptions (try/catch), context managers (with), regex, date/time, generators, base64/UUID, and environment variables. A framework layer tops it off with a micro web server, an event emitter, dynamic plugins, function objects with memoization and decorators, introspection, and itertools-style iterators. An algorithm suite rounds it out with twelve sorting algorithms, a swap-hook visualizer, timeit benchmarking, and binary search. A realtime-and-crypto layer adds RFC 6455 WebSockets (handshake and framing) plus from-scratch SHA-256 and HMAC-SHA-256. The library has no dependencies beyond the C standard library (plus Winsock on Windows) and is built and tested with Meson.