Welcome to Mux
Mux is a statically-typed, reference-counted programming language that combines Go-like minimalism with Rust-inspired safety.
Why Mux?
- Simple yet powerful: Combines Go-like minimalism with Rust-inspired safety
- Strong static typing: Helps catch errors early and ensures safer code
- LLVM-powered: Fast compilation and native performance
- Flexible memory management: Ease of use through reference counting
- Extensible: Designed to evolve with features like traits, concurrency, and a standard library
Quick Example
func main() returns void {
print("Hello, Mux!")
auto numbers = [1, 2, 3, 4, 5]
for int num in numbers {
print(num.to_string())
}
}
Language Features
- Static type system with type inference using
auto - Pattern matching with guards for elegant control flow
- Generics with compile-time monomorphization
- Error handling with
Result<T, E>andOptional<T> - Memory safety through reference counting
- No semicolons - clean, readable syntax
- Collection literals for lists, maps, and sets
- Interfaces for polymorphism with static dispatch
Project Status
Mux is currently in active development. The language specification, compiler, and tooling are evolving. Expect breaking changes and incomplete features as I work towards a stable release.
Current Limitations:
- No LSP (Language Server Protocol) or code formatter support yet
- This will be added in future releases as the language, for my senior Project, likely around May 2027 for sure!
- Standard library is under active development
- Breaking changes are expected
Community
License
Mux is licensed under the MIT license.