2 ms·
Wasm with simd can get things like physics simulation and some ML on the order of 2x faster. I'm finding it really useful.
by qoez 1y ago
Wasm with simd can get things like physics simulation and some ML on the order of 2x faster. I'm finding it really useful.
- pjmlp 1y agoOr let the GPU do it instead.
- qoez 1y agoFor physics it's in some cases way easier to implement on cpu. For ML using wasm means the model loads way faster (the user doesn't have to wait; and sometimes the performance is about the same). For some small models wasm can be faster. Mediapipe by google for instance gets better performance and better latency with their wasm model than the gpu one.