Skip to content

WynNative. Fast. Complete.

Compile to C. No VM, no GC pauses. Python's simplicity, Go's performance, 49KB binaries.

Wyn
49KB
Hello World Binary
~1s
Compile Time
4x
Spawn Speedup
6μs
Spawn Overhead
850+
Stdlib Methods

Installation

$curl -fsSL https://wynlang.com/install.sh | sh

Code Examples

struct User {
    name: string
    age: int

    fn greeting(self) -> string {
        return "Hi, " + self.name
    }

    fn is_adult(self) -> bool {
        return self.age >= 18
    }
}

fn main() -> int {
    var users = [
        User{name: "Alice", age: 25},
        User{name: "Bob", age: 17}
    ]
    
    for u in users {
        if u.is_adult() {
            println(u.greeting())
        }
    }
    return 0
}

Language Comparison

Wyn combines the best features from modern languages

FeatureWynGoRustPythonZig
Native binary
No GC
Sub-second compile
Methods in struct
Pipe operator
List comprehensions
Pattern matching
Built-in HTTP/DBpartialpartial
Green threads
Generators
Cross-compile

Start Building

Install Wyn and ship your first binary in under 5 minutes

MIT License