News for hackers. Stuff that matters.
Re:Android's new Bluetooth stack rewrite (Gabeldorsh) is wri... by johnnycerberus on Wednesday March 31, 2021 @02:01PM (#26650712)
In Zig you write libraries that should be explicit and maintainable.
Re:Android's new Bluetooth stack rewrite (Gabeldorsh) is wri... by adwn on Wednesday March 31, 2021 @02:47PM (#26651343)

    x = m * y
is even more explicit than

    x = m.vector_mult(y)
because the * operator is side-effect free by convention, while a method like vector_mult() might or might not be mutating (i.e., it could work like the *= assignment operator).