News for hackers. Stuff that matters.
Re:My favorite Rust function by Kenji on Saturday October 12, 2019 @08:09PM (#21237271)
> Also, zero-cost abstraction is likely the biggest bullshit I've ever heard, there is a lot of cost and there's also a lot of waiting for compiler if you're using cargo packages.

Zero cost refers to runtime cost, not compilation cost. Zero cost abstraction is not bullshit.

Re:My favorite Rust function by cztomsik on Sunday October 13, 2019 @06:13AM (#21239579)
Yes, I know, and all those crates trying to wrap unsafe C libs are really not free - I've tried.

Maybe just dig into some sources and see what macros are expanded to to see the overhead.