3 ms·
The gamedev ecosystem appears to be split between nalgebra (for Rapier users) and glam. Where does lin-alg fit?
by kvark 2y ago
The gamedev ecosystem appears to be split between nalgebra (for Rapier users) and glam. Where does lin-alg fit?
- pttrn 2y agocgmath?
- bladeee 2y agocgmath is nice, but it uses old Rust 2015 and hasn't been updated since January 2021.
- tialaramex 2y agoI can't imagine any obvious reason I would miss Rust's 2018 edition, let alone 2024 edition, to implement linear algebra? People seemed happy enough in Fortran before I was old enough to go to school and I don't sense it's an application where I'd want async for example. A lot of other edition changes are nice when writing new thing but not helpful for an existing codebase. So, like, sure, it's 2015 edition but that's fine?
- foresterre 2y agoThere's actually an advantage to using older editions, and that is that it lowers the MSRV (minimum supported Rust version). This is especially nice for libraries, while binary project usually can just use the latest edition.
- duped 2y agoit's updated, just not on crates.io
- cwiz 2y agoThere's also bevy_math with quite large number of crates depending on it.
- dakom 2y agobevy_math also uses glam, re-exported in the prelude: https://github.com/bevyengine/bevy/blob/cc69fdd0c63ea79fda4f82410022c24af2310bc7/crates/bevy_math/src/lib.rs#L101 https://github.com/bevyengine/bevy/blob/cc69fdd0c63ea79fda4f...