3 ms·
From https://eliemichel.github.io/LearnWebGPU/getting-started/hello-webgpu.html https://eliemichel.github.io/LearnWebGPU/getting-started/hel...: > Since wgpu-n
by seabass-labrax 4y ago
From https://eliemichel.github.io/LearnWebGPU/getting-started/hello-webgpu.html https://eliemichel.github.io/LearnWebGPU/getting-started/hel...:
> Since wgpu-native is written in rust, we cannot easily build it from scratch so the distribution includes pre-compiled libraries
Isn't this the wrong way round? Building from source seems to be the default for Rust programs, as they are typically statically linked.
- pjmlp 4y agoBeing statically linked works just as well with binary libraries in compiled languages.
- steveklabnik 4y agoGiven that this article seems to be coming from a “you’re writing C++” perspective, I read this as “you probably don’t have a rust compiler installed so it’s not as easy for you to build from source as a C++ library would be.”
- seabass-labrax 4y agoAh, that makes sense! The author is also using CMake, which I imagine doesn't have much integration with Cargo.