Draft:Odin (programming language): Difference between revisions

Content deleted Content added
Added link to book, removed link to blog post, added reference to first commit
Line 18:
| logo = The_odin_programming_language_logo.svg
| paradigms = [[Imperative programming|imperative]], [[Procedural programming|procedural]]
| designer = gingerBillBill Hall
| released = {{start date and age|2016|07|07}}
| latest release version = dev-2023-11<ref>{{cite web |title=Odin release dev-2023-11 |website=[[GitHub]] |url=https://github.com/odin-lang/Odin/releases/tag/dev-2023-11|access-date=2023-11-27}}</ref>
Line 32:
| influenced by = [[Pascal (programming language)|Pascal]]<ref>{{cite web | url=https://gamefromscratch.com/odin-programming-language/ | title=ODIN Programming Language | date=13 April 2022 }}</ref>, [[C (programming language)|C]], [[Go (programming language)|Go]], [[Oberon-2]], [[Newsqueak]], [[JAI_(programming_language)|Jai]]<ref>{{cite web |title=Jai vs Odin systems programming languages | website=[[YouTube]] |url=https://www.youtube.com/watch?v=M763xHjsPk4 |access-date=2022-07-06}}</ref>, [[GLSL]]<ref>{{cite web | url=https://odin-lang.org/docs/faq/ | title=Frequently Asked Questions }}</ref>
}}
'''Odin''', also known as '''odinlang''', is an [[imperative programming|imperative]], [[General-purpose programming language|general-purpose]], [[compiled programming language|compiled]] and [[statically typed]] [[system programming language]].<ref>{{cite web | url=https://www.youtube.com/watch?v=2YLA4ajby00 | title=Interview with Odin language creator gingerBill | website=[[YouTube]] }}</ref><ref>{{Citecite webbook |datelast1=2023-01-06Zylinski |first1=Karl |title=LearnUnderstanding to Code withthe Odin Programming Language -|date=December Introduction9, 2024 |edition=1st |url=https://devwww.toamazon.com/patrickodacre/learnUnderstanding-toOdin-codeProgramming-withLanguage-odinZylinski-programming-language-introduction-ga5ebook/dp/B0DQ1V7LW4 |access-date=2023-11-2724 |website=DEVMay Community |language=en2025}}</ref> It is designed as an alternative to the [[C_(programming_language)|C programming language]]<ref>{{cite web |title=Introducing Odin Lang (Japanese) |url=https://qiita.com/sh1so6/items/40bdda93d6fa2f094fd7 |access-date=2019-09-29 |website=Qiita}}</ref><ref>{{Cite web |date=2022-11-04 |title=Programming Games by Hand Using Odin |url=https://community.codenewbie.org/patrickodacre/programming-games-by-hand-using-odin-55lh |access-date=2023-11-27 |website=CodeNewbie Community 🌱 |language=en}}</ref>. It has features such as compile-time [[parametric polymorphism]], [[array programming]], and [[Type_introspection|runtime reflection]].<ref name=":0">{{cite web |title=Odin programming language review (quality of life) |url=https://graphitemaster.github.io/odin_review/#quality-of-life}}</ref><ref>{{Cite web |title=Writing an Operating System in Odin |url=https://flysand7.hashnode.dev/writing-an-os-kernel-in-odin |access-date=2023-11-27 |website=flysand7's blog |date=22 November 2023 |language=en}}</ref><ref>{{Cite web |last=hasen |date=2022-08-25 |title=Why I like Odin |url=https://hasenjudy.wordpress.com/2022/08/25/odin-praise/ |access-date=2023-11-27 |website=Hasen Judy |language=en}}</ref>
 
The language comes with bindings for several libraries and graphics APIs such as [[OpenGL]], [[DirectX]], [[Simple DirectMedia Layer|SDL]] and [[Vulkan]].<ref>{{Cite web |last=Mike |date=2022-04-13 |title=ODIN Programming Language |url=https://gamefromscratch.com/odin-programming-language/ |access-date=2023-11-27 |website=GameFromScratch.com |language=en-US}}</ref><ref>{{Cite web |title=Odin/vendor at master · odin-lang/Odin |url=https://github.com/odin-lang/Odin/tree/master/vendor#readme |access-date=2023-11-27 |website=GitHub |language=en}}</ref>
 
== History ==
Work started on the language in July 2016<ref>{{cite web |title=Odin first commit |url=https://github.com/odin-lang/Odin/commit/f7a669d342c96451a3e0be84e2e51af8631f90ec |website=GitHub |access-date=24 May 2025 |language=en}}</ref>. TheDesigner creatorBill gingerBillHall wanteddecided to make a language that could replace his needs for [[C (programming language)|C]] and [[C++]].<ref>{{Cite web |date=2016-07-08 |title=The Odin Programming Language |url=https://handmade.network/forums/t/1338-the_odin_programming_language#7533 |access-date=2023-11-27 |website=Handmade Network |language=en-US}}</ref> Since then the language has been developed as open source on GitHub.<ref>{{Citation |title=The Odin Programming Language |date=2023-11-27 |url=https://github.com/odin-lang/Odin |access-date=2023-11-27 |publisher=Odin}}</ref>
 
==Notable software built with Odin==