Re:The Odin Programming Language
by _bxg1 on Friday January 31, 2020 @02:36PM
(#22204805)
I do lots of programming outside of a work setting and I still appreciate good library and tooling support. And even if the programmers at a company are expected to be able to jump around, combining multiple languages makes building and interop more complicated.
[ Parent
| on HN ]
I can't speak for Odin but Zig (also a niche language) is compatible with all C libraries so the ecosystem side is very good.
That makes sense. I guess I assumed the interop story would necessarily be arduous and crufty, but if both languages are native I can see how you might get more of it "for free".
Odin requires writing bindings (for the moment, this will likely be automated with third-party tooling), Zig actually has full first-class C importation.
In both cases the interoperability is excellent imo.
I can't speak to Zig as much, but Odin's type system makes working with C APIs much more of a pleasure than doing so in C itself.