Skip to main content

Stabilizing Gossamer

(Structured concurrency, big changes, and philosophy)

Updated 2 min readMarkdown
Stabilizing Gossamer

As of 0.51.0 - I made a big change in Gossamer - I made colorless structured concurrency the default. As Gossamer grows (big thanks to the growing community for bug reports and feature requests) - it is starting to shift away from it's roots of "Rust shaped Go" towards something more novel.

The north star I have set for the language aims for Gossamer to become:

  • Trustworthy (Stability, Security, Correctness)

  • Ergonomic (Concise, Expressive, Understandable)

  • Performant (Fast Execution Speed, Efficient Resource Usage)

Colorless concurrency is ergonomic (What color is your function is an important read on colored vs colorless concurrency.). Making it structured moves the needle towards trustworthiness.

As of 0.67.0 - I've shifted the frenzied "main branch only" style of development into a locked main branch and feature branches.

I've added packed enums, f strings, and continued working on the standard library. Gossamer is live (on version 0.66.0) in LangArena - a thorough benchmark with a focus on testing the language and compiler. Gossamer shines.

Since creating Gossamer it's never been easier to dive in. There's an interactive tour on the website, and a general playground.

The common thread through the north star above is tier parity. I aim for parity between the interpreted and compiled programs. This enables quick iteration with a python like experience (check out gos watch if doing web development). It also enables exploration through the REPL (with helpful commands to explore like info (%i) for modules, structs, and methods/functions or explain (%e) for user bindings).

Gossamer is inspired by Rust, Go, Swift, Java, Kotlin, C#, F#, Zig, Python, and other languages. I'm putting my experience as a software engineer who enjoys building tools into the kind of language I've wanted for years. When the right ideas from the languages I draw from are put together - you get a whole greater than the some of it's parts.

Give it a whirl. Start working on a library. Send me your github issues and PRs. Gossamer is new, growing, and aiming towards something that feels "just right" for a wide range of use cases.

No comments yet. Be the first to comment.