| Execution model |
GPGPU native compute pipeline. Invokes kernels across raw grids. |
Graphics pipeline emulator. Uses fragment shaders to do matrix operations. |
Stack-based virtual machine compiling Zig directly to instruction sets. |
| Data Readback |
Asynchronous zero-copy memory mapping via mapAsync(). Bypasses render trees. |
Synchronous and blocking CPU-GPU pipeline reads via gl.readPixels(). Stall-heavy. |
Fast linear memory exports directly in JS array buffers without GPU stalls. |
| Thread Model |
Massively parallel processing. Executes threads in workgroups (e.g. 64/128 threads/group). |
Pixel-parallel. Bound to rasterization fragment grid constraints. |
Single-threaded execution loop in freestanding wasm32 address space. |
| Optimal Usecase |
High-dimensional dense neural layers, active weights, parallel SVD projections. |
Historical graphics, shader displays, small matrix transformations. |
Sequential algorithms like Range Coding, Huffman processing, state steering. |