amalgame v0.4.2 · just released
The best of every language,
The best of every language,
in one.
A statically-typed language that compiles to portable C. Self-hosted, cross-platform, no VM.
curl -sSL amalgame.me/install.sh | sh
namespace App import Amalgame.IO public class Greeter { public Name: string public Greeter(string name) { this.Name = name } public string Hello() { guard String.Length(this.Name) > 0 else { return "Hello, stranger!" } return "Hello, {this.Name}!" } }
At a glance
Pattern matching, null-safety, lambdas, comprehensions, generics. Modern ergonomics without VM overhead.
Self-hosted
The amc compiler is written in Amalgame and bootstraps in five seconds.
Compiles to C
Readable, portable C output. No VM, no hidden allocations beyond the GC.
Cross-platform
Linux, macOS, Windows. Binaries published on every tag.