Benjamin Saunders

Results 961 comments of Benjamin Saunders

Alternatively, with fewer moving parts but less flexibility: ```rust let mut response = [0; 64]; stream.read_exact(&mut response).await?; ```

`read_exact` is only suitable if you know the exact length of the data in advance, which is not the case for IRC. The type error you're getting can be resolved...

An explicit enumeration of cases of undefined behavior, similar to the enumeration of cases requiring external synchronization, would absolutely be useful for auditing the correctness of downstream code. e: Oh,...

Is that stronger than necessary? I feel like it would be sufficient to permit either of the latter two cases for bitpatterns that do not correspond to an existing association,...

> I find it strange that the Rust parser doesn't keep the name fields since they have no purpose besides for accessing from outside the glTF I imagine the rationale...

XR_FB_color_space is an exciting step in this direction!

Having now studied colors more deeply, I'm concerned that `XR_FB_color_space` says nothing at all about transfer functions or luminance. Contrast: > XR_COLOR_SPACE_REC2020_FB. Standard Rec. 2020 chromacities. This is the preferred...

A simple fix (which I really hope is consistent with real-world deployments) would be for the visibility mask extension to guarantee that the topologies of the meshes are identical when...

I don't understand what problem this extension is solving. Applications can already easily dispatch events themselves by whatever mechanism they like, such as by using off-the-shelf message-passing data structures. Baking...

If an engine already exposes a mechanism for an application to enable unknown extensions, it seems like a very small additional step (smaller than the introduction of this extension) for...