Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document all interesting/relevant zero cost abstractions #1352

Open
Scripter17 opened this issue Apr 30, 2023 · 0 comments
Open

Document all interesting/relevant zero cost abstractions #1352

Scripter17 opened this issue Apr 30, 2023 · 0 comments

Comments

@Scripter17
Copy link

I've been trying to research what zero cost abstractions Rust uses and I cannot find any meaningful info on anything other than iterators and generics. I've checked the main Rust repository, the Rust book and its repository, the reference and its repository, and even third party articles about Rust. I might just be stupid but there seems to be little if any concrete information on what is and is not zero cost

I think it would be very worthwhile to have a comprehensive list of (at least the interesting) zero cost abstractions (as well as when they don't apply) both to satisfy curiosity and to reassure people who come from languages where abstractions are punished

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant