A beginner-friendly 2D game library for the Odin programming language, targeting Windows, Linux, Mac and the web.
odin-lang/Odin
Odin is a general-purpose, data-oriented systems programming language positioned as a C alternative, with a built-in standard library.
Open-source alternative to:C
- Stars
- 12,277
- Forks
- 1,158
- Open issues
- 709
- Last commit
- 22 hours ago
What is it?
Odin is a general-purpose compiled programming language aimed at systems programming and high-performance software. It emphasizes data-oriented design, with built-in data types and a distinct type system intended to make low-level code straightforward to write and reason about.
The language ships with an official core library collection covering common needs such as formatted printing, along with a vendor collection of additional packages. Programs run on Windows, Linux, and macOS, and the project provides getting-started instructions, nightly builds, and API documentation for all official packages.
The compiler is still in active development, so the project notes that the language may continue to change.
Key features
- 01Data-oriented data types built into the language.
- 02Distinct static type system aimed at low-level and systems work.
- 03Official core and vendor library collections with package documentation.
- 04Runs on Windows, Linux, and macOS.
- 05Nightly builds and an official package documentation site.
Use cases
- Writing high-performance systems or tooling as a C alternative.
- Exploring data-oriented programming in a dedicated language.
- Building cross-platform native programs on desktop operating systems.
Quick start
- 1
Install the Odin compiler by following the official Getting Started guide
- 2
Save the example program as main.odin and run it with the Odin compiler
Things to know
- The README warns that the Odin compiler is still in development.
In collections
Topics
FAQ
- What is Odin?
- Odin is a general-purpose, data-oriented systems programming language positioned as a C alternative, with a built-in standard library. Odin is a general-purpose compiled programming language aimed at systems programming and high-performance software. It emphasizes data-oriented design, with built-in data types and a distinct type system intended to make low-level code straightforward to write and reason about.
- Is Odin free to use? What license does it have?
- Odin is open source under the Zlib license. Check the license terms before using it in commercial products.
- Is Odin still maintained?
- Actively maintained. The last commit to Odin was on Nov 6, 2026.
- What can I use Odin for?
- Writing high-performance systems or tooling as a C alternative. Exploring data-oriented programming in a dedicated language. Building cross-platform native programs on desktop operating systems.
- How do I install Odin?
- Install the Odin compiler by following the official Getting Started guide Save the example program as main.odin and run it with the Odin compiler
- Where can I get Odin?
- The source code and installation instructions are on GitHub: https://github.com/odin-lang/Odin
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
The main source repository for the Rust programming language, containing the compiler, standard library, and documentation.
A simple, fast, compiled programming language for maintainable software, with zero library dependencies and automatic C-to-V translation.
A experimental systems programming language with no heap allocator or garbage collector, using compiler-managed data stacks for memory safety.
The Go programming language, an open source language for building simple, reliable, and efficient software.
Sway is a Rust-inspired programming language for writing smart contracts on the Fuel blockchain.