Open
Description
I can't find any backstory for using vek
over another lib.
rust-gpu
uses glam
and rust-cuda
uses vek
. As far as I can see, there is no real reason for it being different. It would be nice to use the same so we don't have to do import cfg()
dance when sharing code between vulkan and cuda.
cust
/ the host side has a feature for impl_glam
, but it looks on the GPU side we just support vek in cuda std?
Note glam has this feature:
cuda
- forcesglam
types to match expected [cuda alignment]
Advantages for glam
:
- popular
- unopinionated, doesn't really define anything for you except column-major matrix order
- one of the fastest vector libs (for CPU), the dev also runs the mathbench to compare performance against other crates
- has no_std support via libm (which vek does too)
- glam also has support for the rkyv serializer
(thanks to @Firestar99 for the list).
Metadata
Metadata
Assignees
Labels
No labels