Jim Blandy

Results 182 comments of Jim Blandy

Yes, the new WGSL aliasing rules permit the program shown. But HLSL `inout` is defined to mean that the argument's value is copied into the callee's parameter upon entry to...

Those could modeled with binding arrays, if their usage was well-behaved.

That SPIR-V validates fine, so we can assume the breaks follow the [structured control flow rules](https://www.khronos.org/registry/SPIR-V/specs/unified1/SPIRV.html#StructuredControlFlow), and our front end ought to be handling it. (Naga does not fully validate...

[The grammar](https://gpuweb.github.io/gpuweb/wgsl/#continuing-statement) isn't especially clear, but `break` statements in `continuing` blocks are restricted to be the very last statement in the block, like this: ``` loop { ... continuing {...

It doesn't look like Naga has implemented that final `break if` yet. I think the Naga IR for loops should end up like this: ``` Loop { body: Block, continuing:...

(The latter sounds better to me.)

> https://github.com/withoutboats/failure/issues/99#issuecomment-348674144 This link is now: https://github.com/rust-lang-nursery/failure/issues/99

I wholeheartedly agree that the performance cliffs these optimizations create are extremely difficult for developers to understand and avoid reliably. Almost all the optimizations that make modern JavaScript usable fall...

I'm not familiar with Lua, so I'm making some assumptions here, but: I'd argue some of the problem lies with the language, in that it gives you a global hash...

@nical @cwfitzgerald I think web-sys 0.3.60 should include Nical's update.