3 ms·
Dynamic dispatch (dyn) in embedded is fine. Dynamic allocation (Box) in embedded is not recommended. `&dyn SomeTrait` is dynamic dispatch without dynamic allo
by jmillikin 4y ago
Dynamic dispatch (dyn) in embedded is fine.
Dynamic allocation (Box) in embedded is not recommended.
`&dyn SomeTrait` is dynamic dispatch without dynamic allocation.
`Box<i32>` is dynamic allocation without dynamic dispatch.