Tides of Revival - Zig Feedback

No :wink: It’s just as frustrating as always, because it’s a lot of line noise for something that disolves into “nothing” in the compiler output (e.g. at that point, it would be less work to write assembly code).

+1

Before going to some extremes, I think it was mentioned that there are already some simplifications that could be done to ease up the burden of dealing with numbers.

  • Eliminate @floatFromInt and allowing automatic coercion of integers to floats.
  • Eliminate @intFromFloat with @ceil, @floor, @trunc and @round to coerce to integer values.
  • Allow operation between floats and small integer types (https://codeberg.org/ziglang/zig/pulls/30921)

Probably some others.

4 Likes