Introducing Gossamer

I'd been designing a language in my head for years with favorite features pulled from languages like Rust, F#, Kotlin, and Go. I love learning and thinking about language design. I've been reading about crafting interpreters and compilers for fun for quite some years, and somewhere I have a partially written interpreter in Rust, and an even older one in C++ (from college!).
Introducing Gossamer
Goal: A general purpose language focused on correctness, developer ergonomics, and pragmatic performance (some benchmarks at the bottom of this post).
Here is Gossamer:
Inspirations:
Safety features inspired by Rust & F#
The deployment story, performance, and concurrency of Go
The ergonomics of Rust, F#, Kotlin, C#, and Python
It can be compiled to a single binary (debug or release), interpreted, and comes with a built in REPL.
Gossamer is my effort to combine what I love about my favorite languages into a single focused language that balances them well.
More details at the Gossamer Lang site.
Writing Gossamer
Writing Gossamer feels like writing Rust with a hint of F# or Kotlin thrown in. I used to keep an ipython REPL open for small calculations and experiments. Now I just run gos with no arguments and experiment there.
I like expression-oriented languages with strong types, pattern matching, and concise syntax. Gossamer lets me lean into those ideas without requiring ownership annotations, lifetimes, or a large runtime. I can create algebraic data types, and use pattern matching and Rust style error handling. Result and Option instead of exceptions and bare null. Crucially I can extend in Rust - allowing me access to an excellent (and safe) ecosystem of existing libraries.
I can think functionally and create pipelines of data to process, or keep things simple and imperative.
Give it a try. Let me know.
Result
I have something usable, that has replaced some local scripts in Python, and some small tools I've written in Go (including a local AI tool for searching the web or my computer). Not bad for having started writing my first file April 23rd.
What an incredible opportunity for learning this has been. Building is a superior way to create and ground knowledge gleaned from reading.
There are still gaps in what I've built beyond what I've already tackled. But what fun it will be to find them. I've already gotten a few bugs to hunt down and solve on github (thank you!).
I now use Gossamer for a host of personal projects, including a tool that uses a local LLM to search my computer or the web to answer questions.
There's also the test of delight. I enjoy writing Gossamer. Between that and what I've learned, this has absolutely been a worthwhile experience for me.
I plan to keep focusing on correctness, performance, and developer experience. I want Gossamer to become a reliable and fun way to program - whether you do so by hand or with a tool to help you.
Appendix: Benchmarks
Early metrics suggest compiled Gossamer lands in a similar performance tier to Go and Rust for some workloads, while interpreted Gossamer is often competitive with Python.
I tried to use the same algorithm for each test, rather than what was optimal or idiomatic in each language I tested. This was also really helpful for scoping out performance regressions as I built.
(Disclaimer: benchmarks are local on my machine. These are not meant to be claims - just a hint of where Gossamer might fit in terms of performance profile).
Benchmark Game:
Web:
Cold Start Time:
Conciseness:
This isn't authoritative - but it gives a sense of where Gossamer might land as I continue to evolve and optimize it. I am treating it as ongoing signal.
Benchmarks (and code) here (including some stress tests not shown).
Comments
Join the discussionNo comments yet. Be the first to comment.




