Repository

gaidardzhiev/simplex

Simplex

Open github.com

gaidardzhiev/simplex

Simplex

Self-hosting AArch64 ELF compiler and systems programming language built on a GrapheneOS phone. Produces self-contained ELF64 executables.

Visit project

Show me a random project

First shared
Nov 16, 2026
HN activity
10

Show HN@mrelfNov 16, 2026

Show HN: Simplex – Self-hosting AArch64 ELF compiler built on a GrapheneOS phone

Simplex is a compiler that strikes directly at the architectural heresy of modern computing, spitting out pure, self-contained ELF64 AArch64 Linux executables directly on the metal. A recursive descent parser feeds a code generator that encodes A64 machine instructions by hand into three segments, text, rodata and BSS. The language has one type, with raw pointers and byte intrinsics. And it is self-hosting: the compiler compiles its own source, and the next two generations come out bit-identical. To fully appreciate the tragedy of modern computing, I coded and bootstrapped the entire system on a smartphone running GrapheneOS, inside Termux, wrapped in PRoot, running my custom Void Linux musl rootfs.

No comments are available here yet.
View on Hacker News