News for hackers. Stuff that matters.
Re:Should Small Rust Structs be Passed by-copy or by-borrow? by phkahler on Saturday December 31, 2022 @09:12PM (#34202882)
In the old days I saw C code with massive overuse of the "register" keyword. Meaning this variable should be kept in a register. Someone had ove 12 of these in one function back when that was waaaay more variables then processors had registers.

Good thing modern register allocation by compilers makes this irrelevant.

Re:Should Small Rust Structs be Passed by-copy or by-borrow? by int_19h on Saturday December 31, 2022 @09:52PM (#34203107)
As I recall, "register" was already a no-op in C compilers by the 90s or so (maybe except for embedded? I just don't know enough about that).