← All projects
Project record01 mention
Originally shared on Hacker News

Solace

Solace is a programming language that targets JavaScript without being a superset of it, unlike TypeScript. It aims to provide zero-runtime-cost safeguards such as optional values and error unions with Zig-like syntax, along with pattern matching and traits. Development is still in progress, with generics posing tricky challenges to the current approaches.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Solace

    Solace is a programming language that targets JavaScript without being a superset of it, unlike TypeScript. It aims to provide zero-runtime-cost safeguards such as optional values and error unions with Zig-like syntax, along with pattern matching and traits. Development is still in progress, with generics posing tricky challenges to the current approaches.

    Posted by @koehr · Original comment ↗

    “I'm working on Solace¹, a programming language that targets JavaScript, but is not a superset, like Typescript. The idea is, to allow zero-runtime-cost safeguards, like Optional Values and Error Unions (syntactically they look like Zig's), decent pattern matching and Traits.”