News for hackers. Stuff that matters.
Re:Should Small Rust Structs be Passed by-copy or by-borrow? by bmacho on Saturday December 31, 2022 @05:04PM (#34201237)
If "performance really does matter" (in Fintech) then a developer surely can write everything twice or more.
Re:Should Small Rust Structs be Passed by-copy or by-borrow? by dahfizz on Saturday December 31, 2022 @05:27PM (#34201397)
We could, yeah. I'm sure you're capable of re-writing everything you do twice. It's just a huge waste of time.

You get just as much benefit by assigning a performance refactor to an engineer when needed vs literally halving or worse the whole teams productivity.

Re:Should Small Rust Structs be Passed by-copy or by-borrow? by gpderetta on Saturday December 31, 2022 @06:34PM (#34201860)
Time to market can matter in fintech as much as anywhere else.

Edit: also optimizations often interact with each other and you can't always benchmark all possible combinations, so sometime you do have to rely on experience or reasoning from first principles to decide if an optimisation is worth it or not.