Odin playground

package main

import "core:fmt"

greet :: proc(name: string) {
    fmt.printf("Hello, %s!\n", name)
}

main :: proc() {
    greet("World")
}

Odin is a general-purpose programming language with distinct typing, designed for high performance, modern systems, and data-oriented programming. Some people refer to Odin as "better C".

⛫ homepage • αω tutorial • ⚘ community

Sandbox details

Odin version:       2023-12
sandbox engine:     codapi
sandbox name:       odin
allowed commands:   run
in-browser:         ✘

Usage example:

```odin
package main

import "core:fmt"

main :: proc() {
    fmt.println("Hello, World!")
}
```

<codapi-snippet sandbox="odin" editor="basic">
</codapi-snippet>

Documentation