2 ms·
> 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 us
by Kenji 7y ago
> 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.
- cztomsik 7y agoYes, 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.