News for hackers. Stuff that matters.
Re:Building an efficient and portable programming language w... by stephc_int13 on Thursday May 13, 2021 @03:16PM (#27146150)
Good to see it was discussed :)

It is probably better to have native support for small vector operations, as this can also help to streamline SIMD optimization.

In practice (as a video game dev) I only use operators overloading to have infix notation on vector maths.

Re:Building an efficient and portable programming language w... by skohan on Thursday May 13, 2021 @03:38PM (#27146375)
Yeah gamedev/simulation is the use-case where I think operator overloading is really a value-add. It's really nice to be able to write linear algebra code which reads like math.