Silver

Results 99 comments of Silver

It's very difficult to ensure stutter-free streaming, since you can't predict where the file comes from. If a user has the game stored on a slow HDD, it may not...

> Rename [platform/native.zig](https://github.com/hexops/mach/blob/05b0df052d6723284e92b0c9df9485186dac2095/src/platform/native.zig#L590-L646) to something like native_common.zig and rename main in there to run_main. Why is this necessary? The name `main` doesn't mean anything in Zig, it's just what `std/start.zig`...

> `@addWithOverflow` would solve this case. `+|` (saturated add) would probably be better

Having spent the last few days playing with mach/gpu, I can at least say that RenderDoc works great with Dawn's Vulkan backend on Linux :) I imagine it'd be the...

I just cloned the repository with git, didn't use `Pkg.dev`. I do see the windows appear, as well as the bitmap font sprite get rendered. The debug output in the...

`instantiate` doesn't seem to help The tests do occasionally succeed (anecdotally, this seems to happen more often if I run `test` interactively? Might be placebo), and I occasionally get the...

One potential fix is to, instead of adding each rpc function to the init scripts individually, add a single script when the first function is registered, which calls an "RPC...

@DerpMcDerp that seems like rather confusing syntax, and I don't really see any benefit over `.init(1, 2)` personally. Also, sometimes you have multiple init functions (eg. `ArrayList`'s `init()` and `initCapacity()`)...

It would help if you could provide a small reproduction. Also, do you see the same behaviour with clang? `zig cc` is a wrapper for clang with a few extra...

@MahmoudFayed I can reproduce this with Clang on Ubuntu 22.04, using your Clang build script. I suspect your code is triggering undefined behaviour, causing garbage optimizations in Clang. Regardless, this...