Tag
The author argues that despite the common call to break ABI to save C++, preserving a stable ABI is necessary to allow C to evolve, and discusses the trade-offs and constraints ABI stability imposes on language and standard library improvements.
I built a deep learning library in C from scratch that supports tensor operations, autograd, and neural network modules, and used it to train a tiny language model on Shakespeare data.
A tool that packages existing C/C++ projects for use with the Zig build system, enabling easier integration.
The article critiques memory safety absolutism in programming language debates, arguing that new approaches like Fil-C have trade-offs and that dismissing Rust as unsafe ignores practical benefits.
Fil-C is a fully memory-safe implementation of C/C++. It bundles pointer values with boundary information using invisicaps at the LLVM IR stage, achieving high compatibility with a performance penalty of about 4x.
A critique of null-terminated strings in C, arguing that length-based strings are superior for modern programming, leading to fewer bugs and better performance.
Solod is a strict subset of Go that compiles to readable C11 with zero runtime, no GC, and rich standard library, enabling systems-level control for Go developers and familiar tooling for C programmers.
fmetrics is an open-source library in C and Zig for computing fast perceptual image and video fidelity metrics such as IW-SSIM, MS-SSIM, SSIMULACRA2, Butteraugli, and CVVDP, with validated correlation to human ratings.
A quote comparing the trade-offs between C and Haskell: C prioritizes efficiency first then correctness, while Haskell prioritizes correctness then efficiency.
BUSY is a lean, statically typed, cross-platform build system for GCC, Clang, and MSVC toolchains, designed for easy bootstrapping and minimal dependencies.
Decomp Academy is an interactive online platform that teaches users how to decompile GameCube games by writing byte-matching C code against real PowerPC assembly output from the 2001 MWCC compiler.
A collection of free programming notes (PDFs) for Java, Python, JavaScript, SQL, DSA, C, and C++ from GoalKicker.
Microcrad reimplements Karpathy's micrograd autograd engine in C, providing an educational scalar-valued automatic differentiation library with reference counting and a small neural network, aimed at understanding backpropagation at the scalar level.
This open-source tutorial 'Build Your Own Redis' teaches you to implement a fully functional Redis server from scratch using C/C++, with in-depth explanations of network programming, data structures, and low-level C, accompanied by code and detailed instructions.
An analysis of how memory safety CVEs are reported differently in Rust vs C/C++, arguing that Rust's design reduces certain classes of vulnerabilities even when bugs exist.
This article details how Clojure, with the JVM's Vector API and careful optimization, achieved frame rates within 20% of C for a 3D stress test, demonstrating that a dynamic language can approach low-level performance on hot loops.
A developer shares their experience porting a C game to WebAssembly, detailing bugs encountered due to 32-bit vs 64-bit differences and offering debugging tips.
A developer created a fully procedural first-person shooter homage to .kkrieger in a single C file, producing a 51KB binary that synthesizes all assets at runtime, and verified it using headless screenshots.
Fil-C 0.679 is a new release of a fanatically compatible memory-safe implementation of C and C++ that uses concurrent garbage collection and invisible capabilities to prevent all memory safety errors without escape hatches.
zalloc replaces malloc, calloc, realloc, and free in C modules with Zig allocators, enabling Zig-style memory management in C code.