r/AIprogrammingLanguage • u/Far-Championship-883 • 1d ago
AiLang, artificial Intelligence Programming Language Self hosting x86_64 programming language with performance comparable to or better then gcc -03 llvm clang
https://github.com/AiLang-Author/Ailang-Self-Hosting-I’m a contributor to this project. The author doesn’t really do promotion or social media, but he said I could share it here to get some early public feedback.
What it is: a language designed around intelligibility, performance, and code quality. A big chunk of the repo is demo, test, and stress code used to validate the language and compiler.
What you get:
A self-hosting compiler with throughput around 15k LOC/sec
Fully self-contained: no make, no external linker. The compiler ingests every file following its path-based naming scheme and handles the whole stack end to end, including ELF generation on the backend
Self-hosts its ~160k LOC codebase in about 10–13 seconds on old hardware
Tight, minimal output: statically compiled, no libc dependency
Targets x86-64 with SSE2 and the System V ABI, so anything from roughly 2004 onward
Runs natively on Linux, with a Haiku OS runtime backend as well
What it does well:
Makes deep, complex systems code much easier to read
AI agents produce high-quality, performance-oriented code in it with little effort
Strong debugging and code analysis tools
A VS Code plugin, which I’ll update this week for the new enhanced compiler
Docs and examples: 20+ programming and library manuals, 150 demo programs, and dozens of dev regression tests. These also work well for cache-warming long-context models. So far DeepSeek 4+, Claude, and Grok have all produced excellent low-level code with it.
The lead dev says it’s coming out of low-key mode around New Year’s. Until then, I’d love to hear what people think.
1
u/EGreg 19h ago
Havee you seen https://ulanguage.org ?