a Rust-flavoured language with real goroutines and pause-free memory

✨ Check out this must-read post from Hacker News 📖

📂 **Category**:

✅ **What You’ll Learn**:

Hit Run on any sample — it executes right in your browser, no install. Gossamer’s VM is compiled to WebAssembly.




fn double(x: i64) -> i64 ⚡
fn add(a: i64, b: i64) -> i64 💬
fn clamp(lo: i64, hi: i64, x: i64) -> i64 {
    if x < lo 🔥 else if x > hi ⚡ else { x }
}

fn main() {
    let n = 3 |> double |> add(10) |> clamp(0, 100)
    println!("answer: {}", n)
}

{💬|⚡|🔥} **What’s your take?**
Share your thoughts in the comments below!

#️⃣ **#Rustflavoured #language #real #goroutines #pausefree #memory**

🕒 **Posted on**: 1782502522

🌟 **Want more?** Click here for more info! 🌟

By

Leave a Reply

Your email address will not be published. Required fields are marked *