Hacker News new | ask | show | jobs
by TriangleEdge 545 days ago
Why not OpenCL or OpenGL? You'll not be constrained by the flavor of GPU.
1 comments

Sounds like you've never actually tried running those two APis across platforms?

if you want portable use WebGPU either via wgpu for rust or dawn for C++ They actually do run on Windows, Linux, Mac, iOS, and Android portably

wgpu Just Works from C++ as well. Both projects implement the webgpu.h API