Systems/Low-level
IV
Overview
Inventix VM simulates a complete computer architecture, from a custom bytecode processor to a virtualized memory management unit with paging.
Highlights
- Custom 16-bit CISC-like ISA with general-purpose registers, stack, and flags.
- JIT compiler that translates Inventix bytecode into native x64 for near-native execution.
- MMU with single-level paging: 16-bit virtual to 20-bit physical addressing with hardware-style R/W/X protection.
- Integrated toolchain: a two-pass assembler, an interactive REPL shell, and a symbolic debugger with breakpoints, memory inspection, and single-stepping.
- Memory-mapped video output and DOS-like software interrupts.
More work
View allML/AI2025
DermAI Pakistan
On-device dermatology decision support for low-resource clinics. A quantized deep learning classifier that runs entirely on the phone.
View case study
Systems/Low-level2024
ml_frame
A zero-dependency machine learning framework in roughly 2,800 lines of C11: arena allocator, reverse-mode autograd, multi-backend GEMM, and INT8 quantization.
View case study