ʃ# (pronounced “esh-sharp”) is a systems programming language focused on:
- Clarity — readable, low-ceremony syntax
- Safety — memory safety by default (ownership, borrowing, lifetimes)
- Speed — performance competitive with C++ / Rust / Zig
- Power — capable of real systems work (engines, kernels, tools)
It aims for Rust-level guarantees with significantly better ergonomics.
- Memory safety without a tracing garbage collector
- Deterministic destruction (RAII)
- Ownership + borrowing + lifetimes (mostly inferred)
- Explicit allocation visibility (
!alloceffect) - Controlled
unsafefor low-level work - Clean, modern syntax (inspired by the better parts of C# and others)
- Minimal boilerplate — no giant walls of imports
- Both
#and//comments supported
An early stage-zero compiler now builds a small ESH subset into native executables through C11. It includes functions, typed/inferred variables, mutability checks, conditions, loops, recursion, static strings, and printing.
python3 bootstrap/esh.py run examples/hello.esh
python3 bootstrap/esh.py run examples/fibonacci.esh
python3 -m unittest discover -s tests -vRequires Python 3.10+ and a C11 compiler (cc) for native builds. No third-party
Python dependencies. See bootstrap documentation for
commands, supported syntax, limitations, and the self-hosting plan.
The full language and standard library are still being designed. Ownership, borrowing, lifetimes, and allocation effects are design goals, not implemented compiler guarantees. The initial compiler is written in Python to bootstrap an implementation written primarily in ESH.
- Rust (safety model & performance)
- C# (readable syntax, without the using-list pain)
- Zig (explicitness & systems focus)
- Vanta (ownership + effects experiments)
- Finalize core language design & specification
- Minimal compiler / interpreter
- Core standard library
- Self-hosting path
- Tooling (formatter, LSP, package manager)
Apache-2.0; see LICENSE.
