Skip to content

WynNative. Fast. Complete.

Compile to C. No VM, no GC, no runtime. Build anything from CLI tools to desktop apps with one language.

Wyn
40
Stdlib Modules
850+
Methods
50KB
Binary Size
260ms
Compile Time
5
Platforms

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
Cross-compile

Start Building

Install Wyn and ship your first binary in under 5 minutes

MIT License