Тёмный

Is Odin "Programming done right"? (with Bill Hall) 

Developer Voices
Подписаться 19 тыс.
Просмотров 49 тыс.
50% 1

Odin’s creator, Bill Hall, makes some bold claims about the language, including that it’s “programming done right”. Before that starts a war on the internet, we’d best ask him to explain what that means, and how Odin tries to achieve it. And while we get deep into the details, overall his answer seems to be, “By gathering masses of feedback and then refining C until it feels joyous again.
Of all the C-like languages we’ve looked at on Developer Voices, Odin seems to be the most at-ease with its progenitor. It’s not trying to be a revolutionary new way of thinking about systems programming; it’s just trying to rethink C for modern conventions. If Bill’s hit his goals, it might be the most comfortable way to get a language that’s C, but C done better…
--
Odin: odin-lang.org/
Odin Packages: pkg.odin-lang.org/
Newsqueak [pdf]: swtch.com/~rsc/thread/newsque...
EmberGen: jangafx.com/software/embergen/
Raylib: www.raylib.com/
RayLib bindings for Odin: github.com/odin-lang/Odin/tre...
Verse language: dev.epicgames.com/documentati...
Algorithms + Data Structures = Programs: en.wikipedia.org/wiki/Algorit...
Bill on Twitter: / thegingerbill
Kris on Twitter: / krisajenkins
Kris on LinkedIn: / krisjenkins
-
0:00 Intro
1:57 Podcast
58:32 Outro
#podcast #software #softwareprogramming #programming #odin #odinlang

Опубликовано:

 

10 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 250   
@GingerGames
@GingerGames 6 месяцев назад
Thank you for having me on! It was an absolute pleasure.
@DeveloperVoices
@DeveloperVoices 6 месяцев назад
For me too. ❤️
@MaxAbramson3
@MaxAbramson3 4 месяца назад
Thanks for tge heads up. Great interview.
@ska4dragons
@ska4dragons 3 месяца назад
I first heard of you on Primeagen's channel. I could listen to you talk about Odin all day long. Good stuff.
@Reichstaubenminister
@Reichstaubenminister Месяц назад
I just watched an interview with you today, this feels weird.
@natescode
@natescode 6 месяцев назад
Odin sounds like GO without a GC. Having your employer use your language for their major products is a MAJOR accomplishment!
@golangismyjam
@golangismyjam 6 месяцев назад
My thoughts exactly, plus decent windows support which go struggles with a bit, very interesting language.
@BboyKeny
@BboyKeny 6 месяцев назад
Will there be an "Are we X yet?" moment for Odin as was for Rust?
@JohnLeidegren
@JohnLeidegren 6 месяцев назад
It's an interesting starting point because in one sense there's a product driving development and the features needed to make that product are in the language.
@losinggeneration
@losinggeneration 6 месяцев назад
I've used Odin for a week or two, and Go for many years. So far, it does feel like a mix of Go and maybe something like Zig (with regards to allocators being passed into functions.) A lot of Odin's standard library also seems similar in package structure to Go, which has made it easier for me to find things.
@FullGardenStudent
@FullGardenStudent 5 месяцев назад
@@BboyKeny no. Odin lang community is not a cult. So most likely not.
@tommcboatface1908
@tommcboatface1908 6 месяцев назад
You are such an amazing interviewer. Like for real. You know exactly how to shine the spotlight on the guest, you bring the conversation in really interesting directions, you know what you're talking about and you're insightful. Really impressed with your host skills, they really make the show. The topics and guests are also very well chosen as well. Please keep going!
@DeveloperVoices
@DeveloperVoices 6 месяцев назад
Thanks! 😊
@karl_zylinski
@karl_zylinski 6 месяцев назад
Odin is amazing and does so many things right! Odin addresses almost all my grievances with C that have popped up over years of making game engines in C. Also, over the years I've come to love ideas like custom allocators and zero-is-initialized, which Odin has taken to heart both in the design of the language and the standard library. I've been using it for roughly two years and within a few weeks I will release my own commercial game written in Odin!
@beloaded3736
@beloaded3736 6 месяцев назад
Good luck with that. What's the game name?
@karl_zylinski
@karl_zylinski 6 месяцев назад
@@beloaded3736 Thank you. Game name is CAT & ONION. I'll post on this youtube account and on twitter when it's out. Steam page coming soonish. It'll be released on itch before Steam!
@edelgyn2699
@edelgyn2699 5 месяцев назад
@@karl_zylinski Best of luck!!
@ciCCapROSTi
@ciCCapROSTi 3 месяца назад
Why would anyone develop a game engine in C, the only reasons to use C is if you don't have a C++ compiler available for the platform or you work with legacy code.
@karl_zylinski
@karl_zylinski 3 месяца назад
​@@beloaded3736 thank you! The game is called CAT & ONION. It's out on Steam now ✨
@mjolnirdev
@mjolnirdev 6 месяцев назад
I have been using Odin as my daily driver for about a year and a half now. At first, I too complained about not having methods, namespaces and a few other "minor" oopy concepts i was used to. And now having spent time with it, i am **so** happy they do not exist. Bill designed a language around psychology of the users, with the tag line of Joy in Programming, and its true. I **love** working in Odin.
@Renni-kg6vf
@Renni-kg6vf 6 месяцев назад
Yeah, I feel like the pitfall of a lot of languages is that they try to include everything, and stray away from their initial concept. For example, Rusts big (maybe biggest) sell is safety, but people often complain about the borrow checker, but if Rust made workarounds easier, it would destroy the point of the language. You should invent a language with a philosophy, python has issues with type checking, and speed, but it has really simple syntax that works well as an interface for libraries. If Python made itself a low level language with strict syntax, they would lose their purpose. There’s a billion general use languages that are all practically the same, when designing a language, it’s good to have a mindset like him and think what the language needs to achieve its purpose. It’s trying to be C v2, so making the same mistakes C++ made would be stupid and silly
@awesomedavid2012
@awesomedavid2012 5 месяцев назад
I think as long as you have packages, that's all the namespacing you really need
@matejzajacik8496
@matejzajacik8496 6 месяцев назад
I find Odin very ergonomic, well principled, powerful, and fun to use. And actually quite beautiful, too. Also, Ginger Bill's responsiveness is refreshing -- he responds to questions regularly, usually within minutes. If possible, I'd switch to Odin in my day job in a heartbeat.
@nexovec
@nexovec 6 месяцев назад
Odin is hands down my favorite language. It's the only language that feels like a genuine attempt at making a tool for people who deeply care about crafting software.
@michaellee2786
@michaellee2786 6 месяцев назад
Thank you for giving us Odin, Bill!
@GingerGames
@GingerGames 6 месяцев назад
Thank you so much for using it!
@androth1502
@androth1502 6 месяцев назад
@@GingerGames waiting for the next ~ update.
@Ilumar589
@Ilumar589 6 месяцев назад
@@GingerGames No, really, thank you! First language and way of thinking that clicked with me in a long time. Zig is in the same ball park but something about Odin just makes it more fun. May be the syntax or just the fact we have actual strings in the core lib instead of []u8 :p, or maybe just the fact that it's so focused on game dev...can't choose :D . Btw #soa, best thing ever
@hasen_judi
@hasen_judi 6 месяцев назад
@@GingerGames Incredibly grateful for this language!
@GingerGames
@GingerGames 6 месяцев назад
@@androth1502 what kind of "update"?
@saniancreations
@saniancreations 6 месяцев назад
Now I'd love to see an interview with Jonathan Blow about the language he is developing (jai, working title), I think he'd be open to it. Whilst syntactically similar to Odin, it has very different opinions about aspects like metaprogramming and macros. Jonathan himself doesn't shy away from voicing his opinion, to the point where he's become a somewhat controversial figure in the programming sphere. He has some good takes, some honestly quite bad, but he sticks by them and it seems to be working out for him. Given all that, the interview is bound to be interesting at the very least, and I'd love to see how it compares to this one.
@meanmole3212
@meanmole3212 5 месяцев назад
We need this.
@lucasjames8281
@lucasjames8281 Месяц назад
I’d love to see this
@janAkaliKilo
@janAkaliKilo 6 месяцев назад
Wow, this channel is a treasure trove for any programming language enthusiast! Do you have any plans to interview Nim creator, Andreas Rumpf? Right now is the perfect time as he recently published second edition of his book "Mastering Nim"; Nim hit 2.0 last year and there are number of really cool features coming/returning to Nim in near future: new sum types, Nim's very own IR, IC support, etc. More Nim Topics I would love to see discussed: move semantics 'borrowed' from Rust, new ARC/ORC memory management, Safety without much restrictions
@pookiepats
@pookiepats 3 месяца назад
Andreas Rumpf is the creator of Nim, sir - not Araq.
@janAkaliKilo
@janAkaliKilo 3 месяца назад
@@pookiepatsAraq is his username But you are right, I should've used a full name here.
@e.alvarez2843
@e.alvarez2843 6 месяцев назад
Between using Odin, and watching GingerBill's streams, or listening to his interviews; has been the greatest leap in CS knowledge I've had in the past three years. Thank you @GingerGames
@KikkerFish
@KikkerFish 5 месяцев назад
I’ve followed gingerBill for years, watched many of his interviews and I believe he’s one of the most sensible language designers out there!
@xba2007
@xba2007 6 месяцев назад
What a wonderful interview, so refreshing to hear someone that clearly understands language design and current hardware. Thank you so much Kris and Bill. Looking forward to pause my coding Go for a bit and give Odin a go.
@TankorSmash
@TankorSmash 6 месяцев назад
These are very good questions from the host, thank you both for making this! Looking forward to the Verse lang topic too
@liquidmobius
@liquidmobius 6 месяцев назад
I absolutely love your channel! Thanks for all the great content! Reading through the docs and Odin seems to share a lot of syntax with Go, which I personally really like.
@ElementResources-rp8ox
@ElementResources-rp8ox 6 месяцев назад
Excellent episode...great questions Chris, you are a great interviewer and ask interesting questions, let your guest answer, and then a thoughtful follow up or two. The language is very interesting and looks tailor made for game and graphics applications based on some of the neat features and libraries discussed.
@iatheman
@iatheman 6 месяцев назад
Second video I watch and the interviews are so interesting and the conversations go on so pleasantly. That's an amazing skill to have.
@mfalk6263
@mfalk6263 6 месяцев назад
I enjoy programming in Odin a lot!
@edgeeffect
@edgeeffect 5 месяцев назад
At the moment, I'm seeing Odin and Zig as aiming at simillar places... It'd be fascinating to hear you do a three-way with Andrew Kelley and Ginger Bill.
@sirrobinofloxley7156
@sirrobinofloxley7156 4 месяца назад
If they formulate the two, Zigdin, Odig, Zod... Oz? 👊
@Muskar2
@Muskar2 5 месяцев назад
You're a great interviewer. It would be very cool to get Jonathan Blow on to talk about his Jai-lang, which is also C-like but has a lot of powerful features. Besides exposing low-level stuff when needed, I really like its metaprogramming, its extremely powerful "context" passed onto every function, its focus on development iteration speed and being minimalist. But it's still closed beta, and I think Jon likes to not talk too much about it before he feels its more mature (which he sometimes said is when he's done with his new game written in it). He can be very grumpy on a tangent, but with preparation and a good day, I think you could get some very interesting insights out of him. I'd love to see _you_ try. Thanks for sharing these.
@olivierdulac
@olivierdulac 5 месяцев назад
This interview was extremely pleasing to watch. I will try to give Odin a go, and also will see what other videos you did on this RU-vid channel.
@Tekay37
@Tekay37 6 месяцев назад
Thank you RU-vid Algortithm for suggesting this video to me only 2 hours after the Upload.
@mattanimation
@mattanimation 6 месяцев назад
it was nice to hear a bit more about the history of Odin and how it came to be in the gaming sphere. thanks!
@BboyKeny
@BboyKeny 6 месяцев назад
Tsoding does this neat technique with a function that does it in C that contains a goto defer and then you put a defer label underneath in the scope. Go defer is still way more preferred but it's nice to have a convention and some ergonomics in C.
@Bobbias
@Bobbias 6 месяцев назад
I had never really thought deeply about how data structures implicitly encode a particular algorithm. One part of me wants to point out that a generic tree could encode either DFS or BFS and there's no way to know based on the tree structure alone whoch one it encodes. But that dpesnt change the fact that there is at least one algorithm implicitly encoded in the tree.
@UliTroyo
@UliTroyo 6 месяцев назад
Oh, you're talking to all my favorite hipster langs! It would be cool if you get Sophia to come talk about Nushell-it's like Roc, but also like Bash.
@DeveloperVoices
@DeveloperVoices 6 месяцев назад
Oooh, nice. I'll drop a line to Sophia and see if she's interested. Thanks!
@_slier
@_slier 6 месяцев назад
The best c like language out there.. The only downside, there is not a lot of marketting around it.. This language should become more famous/hype compared to other c like languages out there.. It is so much fun to work with.. Memory management is far cleaner from c like languages out there.. Try using it, its totally fun to use
@filipanicic771
@filipanicic771 5 месяцев назад
Thank you for the amazing talk. I really like the aproach Odin is going for and I started following a small tutorial series on making a game with it. The teaser for a video on Verse is exciting to hear. Can't wait for it.
@DeveloperVoices
@DeveloperVoices 5 месяцев назад
You didn't have to wait long - it's up now. :-D
@emilvaleev
@emilvaleev 6 месяцев назад
Thank u for having Bill and for doing this awesome content and being such a great interviewer!
@RyanWhitlie
@RyanWhitlie 6 месяцев назад
Another excellent conversation, thanks! Odin quickly became one of the most joyous languages to write for me. Odin and Elixir *chefs kiss*. Perhaps a conversation with José Valim could be on the cards🤞
@steveknight878
@steveknight878 5 месяцев назад
Many years ago I worked for a Canadian company called Geac. It had its own languages (and operating system) with several interesting features. The lowest-level language was ZOPL, which was derived from BCPL. It had no data types at all. When you declared variables, there were two areas of memory available - you could use DCL which started at the top of memory (location 0) and BDCL which started at another specific location (can't remember why, now). You would declare something like: DCL Fred(20) This would give you a named area of memory, 20 bytes long, and if this was your first declaration then it would start at location 0. If you followed this with DCL Alice(10) then Alice would start at location 20, and occupy 10 bytes. And so on. You could then use offsets - so ^$Fred+10 = 4 (^ means contents of, and $ means address) would make the byte at location at address 10 become 4. And if you said ^$Fred+25 = 2, then the byte at memory location 25 would become 2 - which is actually the same location as Alice + 5 It had other features. All parameters in subroutines/functions were effectively passed as addresses, not as variables. So if you had a routine with a single variable DoSomething(Var), and called it with DoSomething(Fred), then actually what you were passing was the address of Fred (which is 0 in memory). Inside the procedure's definition, you would use the ^$ construct to use or make changes to the variable passed in. This, of course, has many problems. One is that all variables are global. And another is that it was very easy to pass a variable to a procedure and then tromp all over any other variable you wanted to. You needed a lot of discipline. But it also had many advantages. It was nice to hear a shout-out fr Wirth. The second (or third or fourth, can't remember) language I used was Modula. That was (a the time - 1980) a lovely language to use.
@Hoowwwww
@Hoowwwww 6 месяцев назад
in your description you link an old package of raylib raylib in now in the vendor package of odin, in the official repo, check the vendors folder in the odin git repo
@DeveloperVoices
@DeveloperVoices 6 месяцев назад
Ah, thanks for letting me know. ❤️ Fixed!
@poggybitz513
@poggybitz513 6 месяцев назад
ginger bill is doing amazing work with odin and its a delightful langauage for the games and graphics domain imo. But, I would like to point out that C is not dead and is being actively developed. For example, we use defer in c 21 that are implemented with the macros. It would be awesome if chris broguth someone Dawid and Jens who are pioneering the modern c.
@_supervolcano
@_supervolcano 6 месяцев назад
I really enjoy these videos. Thanks for the interview, Odin is super interesting!
@jimmarshall3724
@jimmarshall3724 Месяц назад
From what I've seen odin only has for loops which function as both for and while loops depending on how you write them - cool - but can it do do- while loops?
@oglothenerd
@oglothenerd 3 месяца назад
I am making a compiled programming language myself! It is meant to be a serious replacement for Rust. Rust is amazing, but it has a bunch of huge flaws... the biggest being it relies on the internet to compile most things...
@Pariatech
@Pariatech 6 месяцев назад
This got me reading the Odin's Doc. Fascinating language with some great features, like how it handle structs of array or the using keyword. A lil bummed about the lack of automagic C interop like Zig has. I will have to try it out that's for sure.
@GingerGames
@GingerGames 6 месяцев назад
Thank you for watching the video. With regards to the "automagic C interop", this sounds cool until you realize this is actually pretty much NEVER what you want. In all of the cases you look at what Zig does, the libraries just wrap the automagically imported C calls, which is effectively the same amount of work as just writing the bindings manually, defeating the entire purpose of the automagical stuff. There is also the other issue that people use the C-preprocess as if it was the same language as C. They define constants and many wrapper functions and more, with the preprocessor, which will be missed by the "automagical" stuff. We are currently working on making an official automatic bindings generator, and because of Odin's amazing `foreign` system stuff, things can have little to no wrappers whatsoever, and still be extremely useful. Odin has tried its best to make binding with foreign code very pleasurable, whilst not requiring wrappers. See things like the attributes `link_prefix` or even `b32` types (for booleans which are not 1-byte) or `u32le` types (endian specific types) or multi-pointers `[^]T`. With a bindings generator, you'll have a lot more control about how you can interface with foreign (e.g. C) code.
@Pariatech
@Pariatech 6 месяцев назад
@@GingerGames thank you for the wonderful reply!
@fburton8
@fburton8 6 месяцев назад
Yes, I _did_ enjoy this episode very much, thank you!
@DeveloperVoices
@DeveloperVoices 6 месяцев назад
Our pleasure!
@mwcz5190
@mwcz5190 6 месяцев назад
Great guest, great interviewer, great topic. Easy sub!
@mlliarm
@mlliarm 6 месяцев назад
Already interested in the language at 20:48. After reviewing the overview of the language, having some golang experience already, I really feel being at home. The syntax is very similar, but the language is highly performant? I'll surely dive deeper ! Thanks Bill ! And thank **you** Kris for this amazing discussion !!!
@ForeverZer0
@ForeverZer0 5 месяцев назад
It will generally beat out Go in performance, but not quite at the level of C, C++, Zig, etc in regards to its potential "raw power". It is probably most relatable to Rust in regards to potential performance. Obviously all of these languages being listed are "fast", so its in the ballpark, and the differences are moot unless you are developing for some AAA game title that is aiming to eek out the absolute most possible out of the hardware.
@Barnardrab
@Barnardrab 5 месяцев назад
Could I use Odin with an Arduino kit? Does it depend on a mainstream operating system like Windows?
@tomthumb6712
@tomthumb6712 6 месяцев назад
Any chance of getting jon blow on jai?
@cmbasnett
@cmbasnett 6 месяцев назад
The SOA stuff seems really neat, was a good interview.
@mrmaniac9905
@mrmaniac9905 6 месяцев назад
You’ve inspired me to write a game in odin
@karl_zylinski
@karl_zylinski 6 месяцев назад
Do it! I'm making games in Odin and I've never been both so productive and creative at the same time.
@dragonalong6860
@dragonalong6860 5 месяцев назад
Love Odin, using it to develop games
@tedbendixson
@tedbendixson 6 месяцев назад
CPU up. Wonderful talk Bill!
@claudiusraphael9423
@claudiusraphael9423 6 месяцев назад
Wonderful chat.
@filker0
@filker0 5 месяцев назад
I am interested in exploring Odin and am impressed with how far it's come. I have created a few domain-specific programming languages, but I've never attempted to design and implement a compiler for a general purpose programming language. Unfortunately, from looking at the website, I won't be able to experiment with Odin in the sort of programming I do. It's not available for any of the architectures that I commonly program on. I do a lot of low-level embedded engineering and programming, so I need languages that work with compiler suites that are able to produce code for common embedded microcontrollers and other microprocessors used in this domain such as PowerPC (32 and 64 bit), Cortex-M (32 and 64 bit), Cortex-R (32 bit), MicroBlaze (32 bit). I also do a lot of bare-metal (unhosted) programming, either single-threaded or using a small multithreading executive (not a full RTOS). A few nits: C is not from the 1950's, it's really late 1960s through the 1970s. It really didn't hit its stride until the K&R compiler for Unix 7th edition. Fortran and Cobol have their origins in the 1950s. C passes arrays by reference because a raw array identifier is treated as a pointer to the first element of the array.
@GingerGames
@GingerGames 5 месяцев назад
We'd be interested in seeing if we can support a freestanding PowerPC platforms for Odin most definitely! Maybe some forms of Cortex-M (but it's too varied to be actually useful as a single generic target). As for MicroBlaze, you're probably the first person I've met in a long time to even use it still. Supporting these new platforms does take a bit work (LLVM isn't just magic, unfortunately) to get working, but we are not against supporting those platforms. We have just been focusing on the main application-oriented platforms (AMD64, ARM64, and now wasm), but that doesn't mean we cannot support other platforms.
@albinekb
@albinekb Месяц назад
You are a great host! Thank you!
@hacking4arabs
@hacking4arabs 6 месяцев назад
So what am I supposed to choose, Zig or Odin?
@GingerGames
@GingerGames 6 месяцев назад
As I say in the interview, try both of the languages out for at least a week each, and see which you prefer!
@hacking4arabs
@hacking4arabs 6 месяцев назад
@@GingerGames Thank you, Bill, you're such a great inspiration 🫡
@Tordvergar
@Tordvergar 5 месяцев назад
Working on a language in an environment where it's in heavy production use seems to me a wonderful thing. Assuming, of course, the language is adequately stable at the start. A feedback loop for the actual logic of the language: marvelous.
@_iao_
@_iao_ 5 месяцев назад
excellent talk 👍 just finished it
@workflowinmind
@workflowinmind 5 месяцев назад
Great episode!
@gearboxworks
@gearboxworks 5 месяцев назад
Nice interview. One thing though, as a visual learner I wish he had shown code while he was explaining various aspects of the language.
@DeveloperVoices
@DeveloperVoices 5 месяцев назад
Yeah, that's a thorny one. We also go out as an audio-only podcast on Spotify, Apple, etc., so we have to treat it like radio...
@codegeek98
@codegeek98 6 месяцев назад
0:14:47 that "type" always horrified me... can't use it to store hash outputs since 0 is a legal octet; can't use it to store user-input UTF-8 or ASCII strings since U+0000 is technically a character...
@gadajacaglowa
@gadajacaglowa 3 месяца назад
Odin for me is like refreshing love for coding in the perfect spot between high and low in modern terms of complexity. An amazingly balanced language.
@dieyproductions4403
@dieyproductions4403 6 месяцев назад
Operator overloading is f'ing stupid, good choice.
@MrBranh0913
@MrBranh0913 Месяц назад
Just picked up Zig. I’ve been coding in Go for about 8 years professionally. Odin has a ton of similarities to Go honestly. There is a lot I like about Zig though. My only concern is funding for these sort of languages. I feel languages never take off without backing from a major player like Google or Microsoft
@taylankammer
@taylankammer 6 месяцев назад
Another great language to try out!
@pookiepats
@pookiepats 4 месяца назад
Great job mr host
@pmcgee003
@pmcgee003 6 месяцев назад
A case study for "taking things literally" 🙂
@doBobro
@doBobro 6 месяцев назад
You easily can say Odin is a great language because Bill wields a luxury beard.
@Kuwaaito
@Kuwaaito 6 месяцев назад
I've been called out, I saw the syntax and said no thanks. I'm gonna give it a shot and report back. The no methods stance sold me.
@duke605
@duke605 3 месяца назад
The fact that defer is SCOPE exit and not function exit... Amazing. Go needs a scope defer. So many times I find myself in a look wishing the defer would run at the end of the loop/scope, not the end of the function
@inthegaps
@inthegaps 23 дня назад
I came to this video not expecting such a beautiful host!
@jorgegimenezperez9398
@jorgegimenezperez9398 5 месяцев назад
Maaan when the interviewee and the interviewer are damn goo🥹
@henrikholst7490
@henrikholst7490 6 месяцев назад
I'd Love to see V lang, Crystal, and Nim on the show.
@yldrmcs
@yldrmcs 6 месяцев назад
looks like we'll have a language for every subset of features to beat C and C++
@timlong7289
@timlong7289 5 месяцев назад
The biggest thing wrong with C (and C++) IMO is that it is a multi-pass compiler + linker that requires header files to tie everything together. The reasons it's that way are unimportant in today's computing landscape, so simply removing the need for header files IMO would be the single largest improvement to the C family. Odin looks interesting, and appears to abolish the need for herader files which is great. However, I think it would gain much more traction if it stopped there and preserved most of the C syntax, which is very deeply embedded (pardon the pun).
@ForeverZer0
@ForeverZer0 5 месяцев назад
While it gets compared to C quite a bit, it is far closer to Go than C, especially regarding syntax. I almost think of it as more complex version of Go, but using LLVM under the hood. I really like Odin, it is downright fun to code with, but IMHO it is not even close to being a "C/C++ replacement", I honestly don't even understand why they are so often compared to one another. It has some great strengths that make it stand out, even among other emerging lower-level languages like Zig, Rust, etc. and I feel it would be better off to not try and brand itself as a "C replacement" and lean harder into its strengths and the fields it excels in.
@spacewad8745
@spacewad8745 6 месяцев назад
beautiful hair Kris 😍
@pmcgee003
@pmcgee003 6 месяцев назад
Simon Peyton-Jones for Verse ...
@jazzochannel
@jazzochannel 5 месяцев назад
I'm more of a Loki kind of guy. When is the release date for that language?
@_TheDudeAbides_
@_TheDudeAbides_ 5 месяцев назад
The way he describes how the types will be chosen on use sounds like type inference. If it is, I suspect some people will dislike it because they like specifying type. Maybe it is not the way I think it sounds.
@eliseulucenabarros3920
@eliseulucenabarros3920 6 месяцев назад
NICE!
@djazz0
@djazz0 6 месяцев назад
Thanks for the podcast! Seems to have many similarities to Nim but with focus on modern cpus and running under an OS. No embedded support it seems though, maybe I look in wrong places? Have a look at Nim too!
@GingerGames
@GingerGames 6 месяцев назад
Odin does have freestanding targets, but it we are not focusing on embedded systems for loads of reasons. Personally I believe embedded systems (whatever that even means, since it is such a broad category), needs a language tailored for its domain. More domain specific languages is what we need, not "generalized" languages which is not great for any specific domain.
@michaelmay2021
@michaelmay2021 5 месяцев назад
GG balances self confidence and open mindedness well
@itsjustboarsley
@itsjustboarsley 6 месяцев назад
GB is such a king. 👑
@codegeek98
@codegeek98 6 месяцев назад
0:27:25 i.e. you're better off doing a library call or otherwise sending your array off to a whatever quantum operation provider at this time, if you actually had a need for it?
@channel11121
@channel11121 6 месяцев назад
Are there any plans to open up the in-house IMGUI?
@GingerGames
@GingerGames 6 месяцев назад
Nope. That's private. But Odin does have `vendor:microui` which you can use and modify to your heart's content.
@channel11121
@channel11121 5 месяцев назад
@@GingerGames Hey thanks for the reply and I completely understand [keeping it private]!
@mvargasmoran
@mvargasmoran 5 месяцев назад
THIS MAN!
@BytebroUK
@BytebroUK 5 месяцев назад
Sorry to butt in here but as an old guy, as soon as you said "Programming Done Right", I'm shouting for Perl. Never yet played with yer Odin, but have done about two dozen others over the years. For me, for non machine-language use-cases, it would easily be Perl, all day long :)
@scottcastle9119
@scottcastle9119 5 месяцев назад
My programmer and I are creating a 2D game engine in odin.
@rbettsx
@rbettsx Месяц назад
I'm getting a healthy whiff of (Yorkshire?) pragmatism over purity, an engineer knowing perfectly well the theory, before carefully discarding the right bits to get the job done. Unlikely to be taught in the halls of academe... But hey, they didn't build the railways.
@gargleblasta
@gargleblasta 6 месяцев назад
2020 is 4 years ago 😮
@Satook
@Satook 6 месяцев назад
Always a pleasure to listen to Bill talk about Odin and computing in general. Great interview! Verse is a new language that Simon Peyton Jones (and others) are working on at Epic. Very interesting to see where it goes. He has a great talk up called “Beyond Functional Programming. A taste of verse” if you’re interested. m.ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OJv8rFap0Nw.html
@PrivateUsername
@PrivateUsername 5 месяцев назад
C, but older and wiser? That would be Fortran :)
@user-ys3ev5sh3w
@user-ys3ev5sh3w 5 месяцев назад
That would be Pascal :(
@harishreddy3310
@harishreddy3310 6 месяцев назад
thoughts on odin vs zig? I think only 1 language can survive, unlike rust vs zig where both are offering some different features.
@zn4niye
@zn4niye 6 месяцев назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-tgxtk2OeLwM.html
@Kuraitou
@Kuraitou 6 месяцев назад
It's not clear either of these languages will survive. People have been trying (unsuccessfully) to kill C and C++ for decades, and there has been a large number of new systems programming languages lately. Hare, Jai, Vale, Hylo, Austral to name a few. How many do we need and why would you pick one over the others?
@JaconSamsta
@JaconSamsta 6 месяцев назад
@@Kuraitou So? Doesn't mean we should stop trying. C is a relic and while C++ has its nice parts, it's a pretty poor language from an objective perspective. It barley has any cohesive design and copied over all of C's pain points verbatim. I think Jonathan Blow put it quite well (and I don't usually find myself agreeing much with the guy). Roughly paraphrased "We aren't going to be programming in C or C++ for ever. The question isn't *if* another language is going to replace it, but *when*." And even leaving that besides the point, why do can't we have multiple low level systems programming languages? Rust, Zig, Odin, Jai, V, Hare... They can comfortably coexist. If Odin proves itself suitable for graphics, simulations and game programming, then why not adopt it for those tasks? Take a look at other domains. Backend development is a mix of C#, Java, Go, unfortunately a lot of JavaScript. High frequency trading sees a lot of languages in play, so does data science and virtually any other software domain. You'd be laughed out of the room, if you suggested any of those domains needs to settle for "one true language" or that we should stop trying to innovate within them, or that you don't need anything besides good old Java. Truth is, Systems programming has simply been under-served for a long time. I'd wager that's mostly down to how hard it was to write a good compiler and there not being major incentives for the M$, Googles and Oracles of the world to do so (hard to sell a platform for a language that doesn't need a platform), but LLVM, for all its shortcomings, has really changed the game here. Too some end, I think we are seeing a cambrian explosion in terms of low-level systems programming languages. Surely not all will find mass adoption and maybe not all of them will survive long term, but many will find their niches. Maybe that's why C/C++ folks get so defensive over the whole issue. They aren't used to having competition.
@natescode
@natescode 6 месяцев назад
Odin is domain focused language while Zig is more general purposes. I don't see the competition. Zig tries to interop and actually replace C. Odin is just another specialized systems language.
@pierreollivier1
@pierreollivier1 6 месяцев назад
@@Kuraitou have they tho ? I hear this all the time that people have been trying to replace C for decades but failed like it was impossible ? All those languages who ""tried"" to replace C where failing from the start. For example Jave could never be a C replacement yet in the early days it was advertised as such, On the other hand nowadays we have in my opinion real contenders, Zig for examples actually feels like a C replacement, as a C developer, Zig makes me feel at home, it's imperative, there is no inheritance, it's lower level than C. Everything feels better in Zig than in C, the type system feels better, the std is light years more useful, the semantic feels more cohesive, the error handling is better, testing code as never been easier, building it too, allocators as first class citizen is awesome, I could go on but all those things considered makes me feel like Zig could be an actual replacement to C, same with Rust, It feels a lot like Cpp, I hate Cpp, but Rust makes it more fun, it's still way too convoluted for my taste but It's a fantastic C++ replacement. So I think the argument of many have tried and they all failed isn't relevant anymore, because now that programming as a whole as evolved people have grown tired of C, myself included, it's a great language but the developer experience is really terrible and outdated, I see that everyday around me the programmers I work with all hate C in one way or another, and none of them use C in their spare time to build toy project, they all use Rust, Zig, Odin, Nim, OCaml and whatnot. I think the question is not about whether any of these languages will replace C, it's more of a when ? because it's pretty obvious that nobody in the industry wants a decade more of C, let alone another 50 years of it.
@DanielJoyce
@DanielJoyce 6 месяцев назад
Gonna be tough to fight zig, and memory safety is becoming more and more critical. Valgrind doesnt cut it anymore.
@GingerGames
@GingerGames 6 месяцев назад
Odin does have bounds checking any many other memory safety features, just like Zig.
@DanielJoyce
@DanielJoyce 6 месяцев назад
@@GingerGames insufficient in the modern world. Zig programs still can segfault. There are open PRs/bugs about memory corruption issues for tools written in zig ( I forget which one I was looking at ). The issue tracker mentioned the difficulty of tracking down the cause. I've yet to have a rust one crash. Affine/Linear types remove a whole class of memory errors.
@DanielJoyce
@DanielJoyce 6 месяцев назад
@@GingerGames pascal has bounds checking for array access back in the 80s. It's old hat and barely suffices.
@GingerGames
@GingerGames 6 месяцев назад
@@DanielJoyce so what are you referring to with regards to Zig in your original comment? Odin and Zig both use LLVM as their backend.
@Muskar2
@Muskar2 5 месяцев назад
@@DanielJoyce Why is segfaults your primary concern? If you're rewriting a known or extremely critical program, I think it's understandable. But in my experience, writing software is a lot like exploration, and iteration speed matters a great deal. That's not Rust's strength at all. Compiler errors, just as well as runtime errors (e.g. crashes, boundary checks etc.) can be very useful with iteration speed. Crashes in production-ready code should be extremely rare even in "unsafe" C-like languages, when you zero-initialize and make default paths for zero values. And if you need to squeeze out performance, a borrow-checker (and most definitely a GC) will be in your way.
@megetmorsomt
@megetmorsomt 4 месяца назад
I like the pragmatic approach - thoroughly absent from Western thought these days...
@Tordvergar
@Tordvergar 5 месяцев назад
Bill: if you build in math functions that operate on 128-bit floating point types, you could take over the scientific programming domain, like FORTRAN did 50+ years ago.
@GingerGames
@GingerGames 5 месяцев назад
Firstly, name a single platform that supports 128-bit floating point numbers in hardware?---that isn't an FPGA. Secondly, if you need more precision than 64-bits, you probably want "big floats" instead, because 128-bits is probably not enough.
@basithassanqureshi7025
@basithassanqureshi7025 5 месяцев назад
I was under the impression that the plural of Matrix is Matrices. Perhaps it is because C and X are neighbours.
@DeveloperVoices
@DeveloperVoices 5 месяцев назад
Yeah, I fretted over that one. I _think_ both are considered valid, and I figured if I pronounced it 'matrixes' then everyone-including non-native speakers-would know what I was referring to. Next time I think I'll just try to say it in a way that avoids the plural altogether. 😅
@MagpieMcGraw
@MagpieMcGraw 6 месяцев назад
I've been dabbling in Odin for a while, never heard of this "Bill Hall"
@DeveloperVoices
@DeveloperVoices 6 месяцев назад
Well, it's easy to verify who created Odin, if you want to double-check. 🙂
@GingerGames
@GingerGames 6 месяцев назад
That's my actual (legal) name. I am "Ginger Bill". My actual name is just so generic, which would make it nigh impossible to search for on the internet.
@MagpieMcGraw
@MagpieMcGraw 6 месяцев назад
@@GingerGames Bill Hall is a great programming language designer name. It's right up there with Rob Pike.
@aniksamiurrahman6365
@aniksamiurrahman6365 5 месяцев назад
These things sounds more like C++ alternative than a C alternative.
@johnsalverda3358
@johnsalverda3358 5 месяцев назад
OK, write an OS with it. Unix is written in C. Can this new language do low level stuff? If not, it is not a replacement for C.
@DeveloperVoices
@DeveloperVoices 5 месяцев назад
You might be interested in Hare. Drew DeVault's writing that as a C replacement, and he's writing an OS too, to answer exactly your point. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-42y2Q9io3Xs.html
@GingerGames
@GingerGames 5 месяцев назад
People have already written Kernels in Odin. So yes you can write an OS with Odin.
@rogerdinhelm4671
@rogerdinhelm4671 4 месяца назад
C is not fixable :)
@edgeeffect
@edgeeffect 6 месяцев назад
ARM64 is nice but, considering it's LLVM based, would ARM32 and MIPS32 be viable? If it could do that and has some kind of 'no-std-lib' option... I'll give it a go. Anyone who cites Niklaus Wirth as an influence is alright with me. With matrix operations built in the excuse for still using Fortran is on thin ground now.
@mjolnirdev
@mjolnirdev 6 месяцев назад
There are folks targeting ESP32 iirc. The matrix type in Odin is a stack allocated type, for most computer graphics applications its perfect. if you're going for big/sparse matrices still need a allocated type.
@anon_y_mousse
@anon_y_mousse 5 месяцев назад
I don't know if it's just me, but Odin fails to build straight from the repository. I tried checking out prior tags to no avail. I suspect my clang/LLVM installation is out of date, but I'm not updating since it works now and updating always breaks things for me. This is the eternal problem I keep having with new languages, they refuse to build out of the box unless you have the exact same system they expect or the latest and greatest library versions or stand on one leg and cluck like a chicken. Zig at least provides a pre-built binary that runs, even if the language is half-baked and not completed, and Rust as ginormous as it is actually built from source, which is a first for me, but none of the nightly builds for Odin will even run because even my libffi is out of date. Is it too much to ask that compiler authors try to remember that all they're doing is converting source into a binary format and it doesn't require the latest and greatest of everything to do that. Hell, I'm not even finished with my own language, but every version compiled for every system I tested it on without the need to update anything and still generated code which ran. Except for the Pi version, which generated a binary that ran, but not on the Pi itself, because I haven't written the ARM code generator yet.
@anon_y_mousse
@anon_y_mousse 5 месяцев назад
Update if anyone even bothers to read this, but I edited the source and deleted the bad option it was sending to clang and it built without errors. I'm assuming some configure script did it, but I'm not going to bother investigating further because no one cares.
@Ztaticify
@Ztaticify 5 месяцев назад
This sounds like Rust without 90% of the modern features
@DeveloperVoices
@DeveloperVoices 5 месяцев назад
I don’t want to speak for Bill, but I suspect he’d very broadly agree, and argue that that’s a good thing. As for me, I’m Switzerland. All ideas and perspectives considered. 😁
@KimberlyWilliamsch
@KimberlyWilliamsch 5 месяцев назад
nim, zig, vlang, now what 😅, odin? all of it are successor of c I need zeus and poseidon programming language. btw for me bill is more like kratos rather than odin
@DeveloperVoices
@DeveloperVoices 5 месяцев назад
Poseidon would be a fantastic name for a language, if only because you could call it, "The King of the Cs." 😁
@KimberlyWilliamsch
@KimberlyWilliamsch 5 месяцев назад
@@DeveloperVoices i like it 😂
@wcdeich4
@wcdeich4 5 месяцев назад
I think Rust will be the successor to c/c++
Далее
Will we be writing Hare in 2099? (with Drew DeVault)
54:39
Беда приходит внезапно 😂
00:25
Просмотров 612 тыс.
УНИТАЗ В ЛЕСУ?? #shorts
00:24
Просмотров 584 тыс.
Interview with Odin language creator gingerBill
22:08
Беда приходит внезапно 😂
00:25
Просмотров 612 тыс.