Tag

#c++

19 posts tagged with this.

◆
·18 min read

Automatic Differentiation

A deep-dive into automatic differentiation: symbolic vs. numerical vs. AD, AST transformation, dual numbers, tapes, hybrid methods, and a generic C++ implementation that computes gradients and solves optimisation problems.

◆
·1 min read

minivisor

A KVM-based x86_64 userspace hypervisor that runs any Linux ELF binary — static or dynamic, including Python and Node — inside a sandboxed guest VM with configurable filesystem policy, syscall interception, and process snapshotting.

◆
·1 min read

ptracer

A ptrace-based recording tool that intercepts every syscall made by a process tree — file reads, writes, forks, execves — and stores the full trace in a DuckDB database. File writes can be redirected to a content-addressed store for reproducible builds and sandboxed execution.

◆
·3 min read

BuildInfer

A dynamic build-system analyser that uses ptrace to record system calls during a build, then analyses the event log to automatically transpile build scripts from any build system to Buck or Bazel.

◆
·2 min read

SmallFunction

A header-only C++ alternative to std::function that uses fixed-size capture optimization (small-buffer optimization) to avoid heap allocation — 3–5x faster in benchmarks.

◆
·3 min read

Conduit

A header-only C++ library that leverages the Coroutine TS to bring lazy sequences to C++ — infinite sequences, sequence transformations, and zero-cost abstractions.

◆
·2 min read

valuable

A header-only C++ library providing value_ptr — a smart-pointer with value semantics that fills the gap left by unique_ptr, shared_ptr, and weak_ptr.

◆
·2 min read

neither

A header-only C++ Either type for error handling — lift errors into the type-system with the same performance as error-codes and without the pitfalls of exceptions.

◆
·4 min read

Buckaroo

A decentralised package manager for Buck and Bazel projects, written in F# and winner of the 2019 F# open-source challenge, that resolves dependencies directly from source control using conflict-driven clause learning.

◆
·2 min read

RxTerm

A C++ library for functional-reactive terminals — lean ANSI-powered UI without ncurses.