r/ProgrammingLanguages • u/Nuoji C3 - http://c3-lang.org • Jul 07 '26
Language announcement Odin 1.0 announced (and reflections)
Odin author gingerBill dropped the Odin 1.0 announcement on YouTube today: https://www.youtube.com/watch?v=dLPAqXi9In0 (it's pretty funny actually).
This interestingly makes it on track to be the first of the new wave of C-likes that reach production readiness. While you can argue that most of these languages already are used in production, it's not the same as being 1.0, which carries a different weight and obligation.
Looking at alternatives, Jai could release around the same time, since Blow's game is scheduled for a similar release date. However, it's more likely that we see Jai 1.0 in mid-late 2027. My own language (C3) is planning Q2 2028 1.0 release. Whereas Zig is still unclear, and Kelley basically saying it's done when it's done. For Hare and V the situation is a bit less clear to me – maybe someone else can fill me in on that situation.
But overall we seeing the beginning of the end of the "C-like" story arc that arguably was initiated with Jonathan Blow's development. Writing C replacements predate Jai of course, for example the C2 language (which C3 would eventually continue) was created in 2012, eC started in 2004 and Cyclone (which Rust derived inspiration from) is from 2002. But those were largely obscure novelties, because before Blow's videos, people weren't really hunting for C alternatives.
Jai, however, made a strong impression. It was a good point in time too: Jai and later Zig, Odin, C3, V and Hare – these C alternatives started at a point when people were openly no longer believing OO/Functional as the right way to do things.
Language design takes its time though, and it's now 12 years since Jai started. Finally the fruits of these labours are getting ready for prime time, and when they do they might effectively fill the need for a C replacements for another decade.
Do you agree?
97
u/jackelee Jul 07 '26
Which people no longer believe in the functional paradigm? I'm seeing the opposite. More and more (mainstream) languages adopt functional features such as algebraic data types, generics, lambdas, traits/typeclasses. Yes, these are not features found in the Lisp-family but they appear in strongly typed functional languages such as OCaml, Haskell, F#, Elm, Lean, etc. and now they are also in Rust, Go, C#, Java, Scala, etc. Also immutability is becoming and and more important.
14
u/dgc-8 Jul 07 '26
I am exited for all of them. Haven't used Odin and obviously Jai yet, but I'm keen to try especially when it goes 1.0
One problem is that these languages are competing with each other in a way that will leave a relatively clear winner at some point, and the other languages won't be that popular. Maybe they can be kind of complementary so they don't kill off the other languages. For example Jai tries to be a language for games, this is what differentiates it from others. Let's see
7
u/umlcat Jul 07 '26 edited Jul 08 '26
I believe there will not be an immedeate C or C++ replacement. There are good ideas, with both C alike syntax ( "C3", "D" ) and without ( "Rust" ).
Part is cultural shock, part is technical issues.
The first thing that any "replacement" or "alternative" must be compatible with existing "C" or "C++" code, specially while interacting with O.S. calls. Even C++ method must be wrapped in a "C" A.P.I.
And, to be honest, mostly of the alternatives try to bring new features that C or C++ does not have, and may interfere with C or C++ compatibility.
That compatibility also requires Multiparadigmism. If you have a new programming language that supports Object Oriented Programing or Functional Programming as new features, you will need to support thye previous procedural paradign of C.
The Mac O.S. 's are a good example of switching programming languages. They had Object Pascal, Objective C, now Swift. Object Pascal was not dropped for been bad, it was dropped because a lot of developers preffered a C alike syntax.
2
u/arthurno1 Jul 08 '26
No.
All languages with a fix syntax are dead ends. Fortunately, we have C++ to teach us that lesson.
People should go back to Lisps and restart the research. In a business as young as computer science, it is to expect that the development will go fast and we will need to extend out languages. A specialized syntax like classical programming languages use has a problem in growth since each new feature added to a language will add more to the complexity. Lisp syntax on the other hand is relatively fixed. New features are possible to add without adding new syntax rules and having to ensure complex interactions with backward features. That is a tremendous advantage for new development.
2
u/SwingOutStateMachine Jul 08 '26
I don't understand the point of "C-like" languages that don't have strong language-level features for guaranteeing correctness, such as (e.g.) a lifetime system, or non-nullary pointers, embedded hoare logic, etc.
My understanding of "C-like" languages is that they aim to fill the niche "below" higher level systems languages (like C++, Rust), where the higher level features are not always necessary, or may be too heavyweight, and "above" older language like C (or handwritten ASM) which have a lot of baggage, and can be difficult to work with. As far as I can tell, the applications which need such a language (compact, fast, low overhead) are often things like device drivers, or embedded software, or small operating system utilities.
If that's the case, then surely the goal is to make a safer C - not one which is more ergonomic or "modern" (or has more features), which is what I see in the current crop of "C-like" languages.
15
u/Kapendev Jul 07 '26
You can say a lot of things about what is good or not, OOP/Functional/Whatever, but a programming language with no immutability features is not a serious language. Even C has const.
7
u/echoes808 Jul 07 '26
Very happy for Bill! And that announcement was great.
6
u/Royal-Ambassador-960 Jul 08 '26
"C-like" "Zig, Odin, C3, V and Hare"
I promise you that isn't the future of programming languages. All of those languages are ugly and unequipped for the problems of tomorrow.
2
u/Good_Persimmon_4162 Jul 08 '26
He has the CSP book on his shelf. That's a very good predictor that we'll get a sound, well designed language.
7
u/jesseschalken Jul 07 '26
Every time I look at a "C alternative" like Odin, Jai, Zig or C3 I check the memory management strategy, find its still unsafe, close the tab and go back to writing Rust.
Rust isn't perfect and wont be the last systems programming language, but it feels like nobody is trying to beat it? The only thing that comes close is Swift.
1
u/Flimsy-Low-1326 Jul 08 '26
but I still insist OO programming and invited "function is class, call frame is its instance". https://www.reddit.com/r/ago_lang/comments/1uoxlcz/function_is_class_and_call_frame_is_instance_ago/
1
u/RedoxOsImport Aug 01 '26
Я обожаю Odin lang сейчас я пишу на нем свой софт для анимации (по типу flash) кстати использую sdl3 , перешел я с v lang на Odin lang (так как на нем еще нет тех библиотек что мне нужны)
1
u/Lowfry Aug 16 '26
Inline assembly, yes please, I missed this from c++.
-2
u/EggplantExtra4946 Jul 07 '26 edited Jul 08 '26
Is that finally "notable" enough for Wikipedia to allow an Odin article?
EDIT: lol for the downvotes of wikipedia mods
0
u/[deleted] Jul 07 '26
[deleted] — view deleted comment