Saturday, July 25, 2026

Gossamer Lang: Rust like, to WASM

Gossamer - a Rust-flavoured language with real goroutines and a Swift-like memory model

run it like a script, or ship it as a single binary.



Rust, Apache license

modest: "goal is for Gossamer to replace Rust, Go, F#, Kotlin, and Python
for most of my own projects and use cases."

gossamer/SPEC.md at main · danpozmanter/gossamer

Gossamer is a general-purpose, automatically memory-managed, statically typed programming language with first-class concurrency. It runs on the same target set as Go, compiles to a single self-contained binary, and shares Go's runtime model (M:N goroutine scheduler, channels, automatic memory management). Its surface syntax, type system, and error-handling discipline are taken from Rust (2024 edition): fn declarations, let bindings, struct/enum/trait/impl, pattern matching, Option and Result, the ? operator, monomorphized generics.

No comments: