Back to Browse

Basics of Odin - A Fast, Simple Programming Language

24.3K views
Jan 28, 2025
32:43

This video is an intro to the Odin programming language. I assume that you have some programming experience. Odin is great for gamedev, with libraries like Raylib that ship with the compiler. Download Odin from https://odin-lang.org/ Odin Docs: https://odin-lang.org/docs/overview/ The syntax is similar to Jonathan Blow's Jai language. 00:00 : Introduction to Odin 00:24 : Printing with fmt 01:00 : Variables & Constants 02:50 : If / Else / Else If 04:10 : For Loops & Loop Variants 06:09 : Iterating Strings & Reverse 07:31 : Len, Continue, Break, Loop Labels 08:59 : Enums & Switch Statements 12:09 : Defer keyword 14:06 : Procedures / Functions 15:22 : Parameters & Return Values 16:42 : Multiple Returns (Div/Mod Example) 18:51 : Pointers 21:01 : Arrays 24:21 : Structs 26:19 : Dynamic Arrays 29:40 : Map 31:34 : Allocator #programmingtutorial #programminglanguage

Download

1 formats

Video Formats

360pmp447.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Basics of Odin - A Fast, Simple Programming Language | NatokHD