Re:Wgpu-0.10 released: WebGPU implementation now in pure Rust
by dralley on Wednesday August 18, 2021 @08:46PM
(#28229074)
A Go implementation would only be usable from Go, whereas Rust and C++ can export a C API that many different languages can use.
Plus, using system libraries (DirectX, Villain, Metal, OpenGL) from Go would be a pain and possibly suffer worse from the FFI penalties than just using a higher level library written in Rust/C++ to begin with.
Plus, using system libraries (DirectX, Villain, Metal, OpenGL) from Go would be a pain and possibly suffer worse from the FFI penalties than just using a higher level library written in Rust/C++ to begin with.