Comments by "" (@pierreollivier1) on "Is Odin "Programming done right"? (with Bill Hall)" video.
-
@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.
2
-
@GingerGames Totally agree, with you, this is why I don't really understand the reflex to immediately dismiss any languages that try to replace or at least replace some usage of C. To me the more option we have the better, realistically, any sound developer would prefer to use something more modern, and consistent over C, Now whether that language is Rust, Zig, Odin, Nim, or maybe one day Jai, depends on your preferences, your domain, etc. The point being I'm confident people won't continue to use C as a "defacto". It will obviously still be used, but not by choice. Which is in my opinion the real moment where a language truly dies, is when you choose it only because you have to and not because it offers you something that help you solve your problems.
2