Conversation
a95840b to
acbe7c6
Compare
|
Works for me on macOS 14.7.8 with zig 0.15.1
Code built and ran successfully I assume the checkout to the zig-0.15 branch is necessary, as we don't want PR 31 to affect users with Zip 0.14 |
Unfortunately this fails for me:
|
|
@hencomb After upgrading to macOS 26, I reproduce the problem. I already encountered it with Zig 0.13 so I don't think it's related to the OS version. I think it's related to this issue and I modified the code to initialize the PRNG inside the only function that needs it. Alternatively we could allocate the PRNG on the heap to make sure it's not destroyed when the |
I'm new to Zig and am welcome to suggestions on how to improve this PR.
With
zig build run -Doptimize=ReleaseFastI get similar performance than on 0.14, but with the default (Debug) optimize I get less than half of the FPS. That's why I updated the README to useReleaseFast.Fixes #30