Written by Mo
on
on
2024-08-06 meeting summary
Mo presented his new library polyhedral_mass_properties
with the following interesting aspects:
- The
Iterator
trait with themap
,fold
andsum
methods. - The
Add
andSum
traits. - Running an iterator on multiple threads with
rayon
. - Using Cargo features with the
cfg
andcfg_attr
attributes. - FMA instructions in Rust using
f64::mul_add
andf32::mul_add
. #![no_std]
support.cargo-show-asm
to inspect the assembly output of Rust code.- Using
divan
for benchmarking. - Defining associated constants on a type.