Skip to content

Comment on Marketing the Odin programming language is weird

Comments

The SoA features look really nice. I have wanted that forever.

Matrices are built in(!), and look nicely implemented. So are complex numbers and quaternions!

The array programming aspects in general look great.

Zig might be the nicer language for a kernel or a server of some kind, but Odin looks like the better language not just for games, but also for robotics and for scientific programming.

The only problem I forsee is that it seems hard to write nice mathematical libraries for anything that isn't built in.

For example, suppose I want to work with polynomials using a natural infix syntax. Or that I want to wrap matrices/quaternions in types representing various mathematical groups. Or that I want to implement geometric algebra with wedge products and such. Or that I want to form matrices of elements from some finite field. Those sorts of things might push a person back to C++ (or maybe Nim can do it).

I love the SoA/array/matrix stuff though, and the "standard package" selections look great.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.