4 ms·
My point was that I don't see much of a point in yet another language that is C with an extra 10%. There is another one like that almost every week. Plenty of
by dxuh 4y ago
My point was that I don't see much of a point in yet another language that is C with an extra 10%. There is another one like that almost every week.
Plenty of applications that require manual memory management have been written in C++ or Rust, which do provide RAII. If you know that manual memory management is required for some applications, you also know it's not 100% of the code that needs it.
- gingerBill 4y agoDo you honestly think Odin is "C with an extra 10%"? Or any of the decent alternatives that are available (e.g. Zig, Jai, etc)? Because if you really think that is the case, you know nothing about these languages nor have ever used them. All of these languages provide a hell of a lot more than "10%". As for RAII, I do explain in another comments (https://news.ycombinator.com/item?id=32629951 https://news.ycombinator.com/item?id=32629951 & https://news.ycombinator.com/item?id=32631462 https://news.ycombinator.com/item?id=32631462) why RAII has alternatives and not necessary for every language. If you truly believe that RAII is necessary for you, then use a language that has it (e.g. C++, Rust, D).
- davedx 4y ago
- jessermeyer 4y agoAs someone who programs professionally in C but writes Odin as a hobby, Odin contributes more like 1000% ease of use, comparatively. And I bet that scales up even more on a team as compared to C. ASAN, complex build tools, undefined behavior, implicit type conversions, etc, each of these contribute substantial problems all on their own, and they basically don't ever arise in Odin from the start.
- dxuh 4y agoYou're right. I'm sorry. It got too heated below my initial comment and I got upset. I'm not in a good place currently and I should probably refrain from commenting at all. And yes, I am not fun at parties.
- davedx 4y agoHope you get to a better place soon. I'm not as fun at parties as I used to be either. It's been a rough few years. Best wishes