Hang Zhengyang
ML System Engineer @ akro.ai
I believe good systems come from people who understand them all the way down. Interfaces are useful, but the behaviour that matters is often decided a layer or two beneath them. I enjoy working at that level: asking why, measuring rather than guessing, and making trade-offs on purpose rather than by accident. It takes longer than taking things on faith, and I think it's worth it.
FeaturedC++ 29
Optra
High-performance options trading in C++23: 28 µs tick to order, 9 years of SPXW backtested in 17 s. Your own option strategies, one code from research to live on IBKR.
Open Projects
Systems written from the ground up, each to understand a layer: the matching, the compiler, the kernels, the money.
- Kaleidoscope C++ · SystemsA compiler for Kal, a small statically typed systems language, grown out of the LLVM tutorial. It has two back ends, LLVM and its own x86-64, checked against each other and a reference interpreter. Next: a runtime without libc, then a compiler written in Kal.
- Mini LLM C++ · AIQwen3.5-0.8B inference on one GPU in C++ and hand-written CUDA, without PyTorch, cuBLAS or CUTLASS. The model runs end to end on first-pass kernels, every layer within 3.6e-6 of a NumPy reference. Next is decode speed, now 24% of the memory-bandwidth floor.
- Almanac Python · AIA personal investment system run by LLMs. Each week they write scenarios for a month to three years ahead, four readers share out the odds, and a probability moves only when something new explains it. The result is one suggestion for what you hold; it never places orders.
-
perf: why bperf's shared map can't be used
Applied · 2026-11-24 ↗︎
Makes
perf stat --bpf-counterssay why its shared map pinned in bpffs can't be used, and how to mount bpffs when it is missing. +39−6 -
perf: the right error for tracepoint globs
Applied · 2026-11-20 ↗︎
Reports the permission error for a tracepoint glob such as
syscalls:*on a tracefs that may not be read. +4−2 -
perf timechart: fail empty IO recordings
Applied · 2026-11-12 ↗︎
Makes
perf timechart record -Ifail, giving the reason, when it can read no syscall tracepoint. +35−0
- Qwen3-Omni and TTS CUDA graphs after load Merged · 2026-11-19 ↗︎ Captures the Qwen3-Omni and Qwen3-TTS Code2Wav CUDA graphs after load, outside vLLM's load-time allocator limit: about 2.5 GB less at start. +339−75
- FlashInfer fa2, not cute-dsl, on SM12x Merged · 2026-11-18 ↗︎ Uses FlashInfer's fa2 for auto attention on SM12x (RTX 50, RTX PRO 6000, GB10); its cute-dsl kernels are for SM100 only. +24−8
Notes
Read the notes ↗︎- Notes
- 96
- Topics
- 8
Kernel internalsCPU schedulingGPU sharingConcurrencyModel servingTransformersModel editingLLM inferenceProcesses & threadsLow-precision kernelsLow latencyVirtual memoryPolymorphismMemory allocatorsSyscalls & isolationKV cacheMultimodal servingBuild & linkingGeneric programmingReal-time schedulingObject lifetimeAI software stackFile systemsKubernetesLock-free queuesInfrastructure as codeParallelismPower & efficiencyMemory modelModel architectureCPU cachesTime slicingKernel debuggingTrainingContainersWorld modelsCUDA programmingRPCNetworkingGPU architectureThread pools