Written by Mo
on
on
2024-08-06 meeting summary
Mo presented his new library polyhedral_mass_properties with the following interesting aspects:
- The
Iteratortrait with themap,foldandsummethods. - The
AddandSumtraits. - Running an iterator on multiple threads with
rayon. - Using Cargo features with the
cfgandcfg_attrattributes. - FMA instructions in Rust using
f64::mul_addandf32::mul_add. #![no_std]support.cargo-show-asmto inspect the assembly output of Rust code.- Using
divanfor benchmarking. - Defining associated constants on a type.