Jump to ratings and reviews
Rate this book

Understanding the Odin Programming Language

Rate this book
The Odin Programming Language is a powerful yet simple programming language. It can be used to create many kinds of programs, be they high-performance desktop applications, video games or utilities.

This book teaches basic things, such as how variables work and how to create new types. It also goes into more advanced concepts, such as manual memory management, parametric polymorphism and data-oriented design. A programming language is a tool. By deeply understanding your tools, you will become a better craftsperson. Therefore, on top of how to write Odin code, this book also provides explanations of why things work they way they do.

The target audience is anyone with some basic programming experience. You may have used a high-level language such as Python, C# or JavaScript before, or you may have have used a low-level language such as C or C++. Regardless, this book is for you.

IntroductionHellope! A tiny programVariables and constantsSome additional basicsMaking new typesPointersProcedures and scopesFixed-memory containersIntroduction to manual memory managementMore container typesStringsImplicit contextMaking manual memory management easierParametric Writing generic codeBit-related typesError handlingPackage system and code organizationYou don't need a build systemReflection and Run-Time Type Information (RTTI)Data-oriented designMaking C library bindings (Foreign Function Interface)DebuggersOdin features you should avoidA tour of the core collectionLibraries for creating video gamesThings I did not coverWhere to find more Odin resourcesThanks for reading!Appendix Handle-based arrayAppendix Using only fixed arraysAppendix gui_dropdown from CAT & ONIONAppendix Box2D and raylibAbout the author

174 pages, Kindle Edition

Published December 6, 2024

10 people are currently reading
3 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (18%)
4 stars
8 (72%)
3 stars
1 (9%)
2 stars
0 (0%)
1 star
0 (0%)
There are 0 reviews matching your filters.

Can't find what you're looking for?

Get help and learn more about the design.