News for hackers. Stuff that matters.
Re:Show HN: The C3 programming language (C alternative langu... by lerno on Friday April 04, 2025 @06:38PM (#43588479)
C3 allows arbitrary extensions of any types, so things like `vec1.dot(vec2)` is actually implemented as a generic method macro over all vector types added by the math module.

Given Zig's preference for closed modules, I don't expect this to be on the roadmap, but rather would need to be implemented as functions.

There are no comments on this comment yet.