S
sqrs.dev
Now in Beta

The Future of
Functional Programming

SQRS is a modern functional programming language built for safety, parallelism, and developer delight. Experience a new syntax, new compiler, and a new way of thinking.

fibonacci.sqrs
// Parallel Fibonacci with SQRS
fn fibonacci(n: Int) -> Int {
  match n {
    0 | 1 => n,
    _ => {
      let (a, b) = parallel {
        fibonacci(n - 1),
        fibonacci(n - 2)
      };
      a + b
    }
  }
}

// Type-safe async operations
async fn fetch_data() -> Result<Data, Error> {
  let response = http::get("https://api.example.com/data").await?;
  response.json::<Data>()
}

// Compile to WebAssembly
export fn main() {
  let result = fibonacci(10);
  console::log("Result: {}", result);
}

Why Choose SQRS?

Built from the ground up with modern development principles and cutting-edge compiler technology.

Memory Safety

Zero-cost abstractions with compile-time memory safety guarantees. No garbage collector, no memory leaks.

Fearless Parallelism

Built-in parallel constructs inspired by Elixir's Actor model, with compile-time race condition detection.

Developer Experience

Expressive syntax, intelligent error messages, and first-class tooling for a delightful development experience.

Compile to WebAssembly

SQRS compiles directly to WebAssembly, enabling high-performance applications that run anywhere - from browsers to serverless functions to embedded systems.

  • Near-native performance
  • Universal deployment
  • Seamless JavaScript interop
$ sqrs build --target wasm
   Compiling fibonacci v0.1.0
   Finished release [optimized] target(s)
   
$ wasm-pack build
   Generated WebAssembly module
   Size: 12.3 KB (gzipped: 4.1 KB)
   
$ npm run deploy
   Deployed to Vercel Edge Functions ✓

Ready to Experience the Future?

Join thousands of developers who are already building with SQRS. Get started today and see what functional programming can be.