News for hackers. Stuff that matters.
Re:Wgpu-0.10 released: WebGPU implementation now in pure Rust by kangz on Thursday August 19, 2021 @07:46AM (#28232662)
Other comments explain how that's challenging/impossible in the general case because GPU don't have as good preemption as CPUs and because of the halting problem. However for the VRChat use case you could imagine disallowing unbounded loops so you can estimate the number of instructions and put a reasonable cap on them. This would take care of the DOS and the WebGPU runtime would take care of the rest of the security (OOB, uninitialized data, etc)

There are no comments on this comment yet.