Hi r/Compilers,
I've been working on Eskiu, a statically typed systems programming language with C-like syntax, explicit memory management, generics, interfaces, async/await, and native C interoperability.
I originally learned programming with Ruby, but the more software I built, the more I found C underneath everything, including Ruby and Python themselves. Over time, I came to appreciate C's simplicity and directness.
Rust and Zig are well-designed languages, but for the kind of work I do, I wanted something simpler to learn and adopt while retaining low-level control.
So I started building Eskiu.
What began as a personal project has since grown into a language I use in production software at ReactVision, as well as in a digital identity platform. These real-world applications have pushed me to focus on reliability, performance, interoperability, and tooling rather than language features alone.
I wanted to share a few compiler milestones that might interest this community.
Self-hosting
Eskiu has two compiler implementations: the original C++ compiler and a compiler written in Eskiu itself.
Both are tested for parity, and the self-hosted implementation undergoes a three-stage bootstrap to verify that it can compile itself consistently.
EIR (Eskiu Intermediate Representation)
One of the more interesting parts of the project has been developing EIR, an intermediate representation that provides an alternative compilation pipeline.
With version 0.14.1, Eskiu gained native backends capable of generating ARM64 assembly and C99 without going through LLVM's code generator.
LLVM remains the default backend, but EIR can now produce native executables through its own compilation path.
The ARM64 backend handles calling conventions, C ABI interoperability, structures passed and returned by value, closures, and exception handling through a small runtime.
The new backends are still evolving, and LLVM remains considerably more mature in terms of optimisation.
Correctness and performance
I've also been working on compiler correctness and benchmarking.
I ported all 50 LangArena benchmarks to Eskiu. Both compiler implementations produce matching results across the suite, and on the 39 algorithmic benchmarks, Eskiu's performance is broadly comparable to C in my local measurements.
These aren't official LangArena leaderboard results, but they've been useful for identifying optimisation opportunities and regressions.
Recent improvements include LLVM loop and SLP vectorisation, faster JSON and regex implementations, and fixes for alignment-sensitive memory accesses.
Why I'm sharing this
I'm not trying to build a replacement for C, Rust, or Zig. Eskiu is simply the language I wanted to use, and building its compiler has been an incredibly rewarding engineering experience.
I'm particularly interested in hearing from people who have worked on compiler backends, intermediate representations, and self-hosting.
How have you approached validating a custom code generator against an established backend like LLVM? And at what point do you think maintaining an independent backend becomes worthwhile?
Links:
I'd appreciate any technical feedback, criticism, or suggestions.
Thanks for reading!