News for hackers. Stuff that matters.
Re:When O3 is 2x slower than O2 by ozgrakkurt on Sunday November 02, 2025 @07:16AM (#45789763)
For me it is the usage of macros and traits everywhere.

Good luck if you want to get into the code of a library to understand what a function does. You have to go through 3 macros and 5 traits across 5 files. When it could have been just a couple function calls.

People don’t stop and think if they really need that trait or macro for five seconds, they just have to use it every time

Re:When O3 is 2x slower than O2 by LtdJorge on Sunday November 02, 2025 @11:44AM (#45791565)
I dislike macros for that reason when reading code on GitHub or Docs.rs, but Rust was kind of made to be used with an IDE (or LSP).
Re:When O3 is 2x slower than O2 by bigstrat2003 on Sunday November 02, 2025 @02:53PM (#45792896)
That is poor practice IMO. The simple reality of the world is that not everyone uses such tools. Designing a language with the expectation they will is deliberately ignoring the needs of some users.
Re:When O3 is 2x slower than O2 by pjmlp on Monday November 03, 2025 @10:03AM (#45799789)
IDEs were invented by a mix of XEROX PARC, Symbolics, TI efforts into graphical workstations development, we have moved beyond the point of refusal to adopt modern tooling.