Hacker News new | ask | show | jobs
by CSMastermind 766 days ago
This is probably a dumb question but I assume anything leveraging WASM can only run on the CPU?
1 comments

while it's true that wasm was originally designed to run primarily on the cpu(e.g., executed in a sandboxed environment on the main thread, which is generally managed by the cpu), the assumption that wasm only runs on the cpu might be becoming a bit dated. esp. as a result of webgpu and frameworks mentioned above, wasm is increasingly capable of executing on the gpu imho.