Felix Queißner

Results 81 issues of Felix Queißner

### Zig Version 0.10.0-dev.1261+6f986298c ### Steps to Reproduce ```zig const std = @import("std"); pub fn main() !void { var value: u4 = undefined; std.debug.print("u4={}, usize={}\n", .{ value, @as(usize, value), });...

A lot of exhaustive enums don't use up the full number of options for their storage class, thus they have leftover bits or values. We can take advantage of these...

optimization

Quoting @SpexGuy: > casting pointer->int->pointer has a side effect that the optimizer cannot remove: it discards provenance information. You should use *c_void or *const c_void instead as the erased type....

enhancement

Quoting @SpexGuy: > This might not be the goal, but my version had separate types for SinglePointer, ManyPointer, Slice, etc. That allowed me to avoid serializing the pointer part of...

enhancement

This is actually a Zig issue: https://github.com/ziglang/zig/issues/6706

bug

Change `null_pointer` to reflect the actual address of the `null` address

bug

See #7 for more comments

enhancement

Expose common functions like `install()` and `setBuildMode()`, also `installRaw()`

enhancement

For AVR, it must be in RAM to be efficiently accessed, for ARM devices, it is less important