News for hackers. Stuff that matters.
Re:The Odin Programming Language by Touche on Friday January 31, 2020 @02:54PM (#22204974)
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.
Re:The Odin Programming Language by _bxg1 on Friday January 31, 2020 @03:54PM (#22205610)
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".
Re:The Odin Programming Language by dotbmp on Friday January 31, 2020 @04:04PM (#22205716)
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.