archbirdplus
archbirdplus
Nothing seems to prevent one from using libc. Freestanding is listed as Tier 1 support, so: - the Standard Library cross-platform abstractions have implementations for these targets - libc is...
Looks to me like the default setup has GPA backed by PageAllocator, and PageAllocator backed by `mmap`. Unless the system is known, `mmap` is provided by libc. Am I reading...
Not sure how well this plays with #227.
We can compile performance critical files separately, right?
See also: ``` @setFloatMode(comptime mode: FloatMode) void Changes the current scope's rules about how floating point operations are defined. This is equivalent to -ffast-math in GCC``` Is this the only...
Can you profile with fast math and stuff? Also, how do you profile Cubyz? I used this, but it feels like a hack. ``` if(self.size == 0) { if(main.game.world !=...
Not sound :( My hack is better. You can do `time ./zig-out/bin/Cubyzig`.
Don't you have `developerAutoEnterWorld` for a reason?
Good to know performance is in good hands. I could get `time` within ±0.1s out of 8.9 (lods=3).
It seems that Zig 14.0 moves GPA into DebugAllocator and adds the "for ReleaseFast" SmpAllocator. GPA/DebugAllocator implies stack traces and optional safety features. SmpAllocator has neither traces nor safety but...