News for hackers. Stuff that matters.
Re:Problems of C, and how Zig addresses them by naasking on Tuesday July 04, 2023 @09:04AM (#36586134)
It's undecidable if the language used to define operators is sufficiently expressive. Even simple syntactic constraints would work well enough for most scenarios, like "operators may only be defined by an expression containing other operators".

New types also don't have to inherit the properties of the operators they use.

In any case, my point was that there are multiple avenues to explore in providing operators in a way that don't compromise the compiler's ability to optimize numerical code.

There are no comments on this comment yet.