2 ms·
Zig and Emulators
- gwenzek 2y agoVery nice read. I agree with the author that Zig should improve a bit the readability of integer and vector arithmetics. Small tips is to use more lines. fn addOffset(base: u16, off: u8) u16 { const ibase: i16 = @bitcast(base); const ioff: i8 = @bitcast(off); return @bitCast(ibase +% ioff); }