Josh Wolfe

Results 103 comments of Josh Wolfe

That all assumes passing a continuation as a first class function encapsulates all the bound variables for the closure. The concepts in that discussion are definitely not possible without bound...

I use enum arrays frequently in C++. Here are some examples: https://github.com/thejoshwolfe/legend-of-swarkland/blob/46b1916af06e9d7f6829cb6ff552049e5cd38f28/src/thing.hpp#L196 https://github.com/thejoshwolfe/legend-of-swarkland/blob/46b1916af06e9d7f6829cb6ff552049e5cd38f28/src/serial.cpp#L389 The silly hacks (like `check_indexed_array()`) I do there to make sure I'm doing it right are begging...

```c void glAttachShader(GLuint program, GLuint shader); ``` I'm not familiar with the gl api, but I assume that `program` and `shader` are effectively opaque types. Despite being integers, it would...

I agree that bitflags are a separate issue. I've partially typed up a proposal for bitflags in Zig including extern bitflags appropriate for interfacing with C. Those `WS_GROUP` etc constants...

I'm still a fan of doing 1-pass decoding like I proposed in the OP. Like @RazZziel said, slowly adjust the volume to fit the latest understanding of the loudness adjustment...

To clarify, I'm proposing the above for the "Low CPU Mode", which is a different mode from normal. We should still do the eager scanning mode sometimes, possibly use a...

> But if you defer scanning until the track begins playing, the track will play at the wrong loudness until the scanning finishes That was not my proposal. The scan-as-you-go...

I'm going to see if I can get the CI to pass even if I have to leave the one test behind. Enabling the test can turn into its own...

> The function doesn't seem to be reachable via `std.json.parseFromValue()`, Oops! Good catch. Fixed in https://github.com/ziglang/zig/pull/16194

@nullptrdevs The CI failures in https://github.com/ziglang/zig/pull/16123 include the changes from #16089 , so there must be more to the story.