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

when using only libnative (or libgreen), there should be no dynamic dispatch #13097

Closed
thestinger opened this issue Mar 23, 2014 · 1 comment
Closed
Labels
I-compiletime Issue: Problems and improvements with respect to compile times. I-slow Issue: Problems and improvements with respect to performance of generated code.

Comments

@thestinger
Copy link
Contributor

This results in a significant amount of code bloat, forcing instruction cache churn. It also prevents a very large constant amount of dead code from being eliminated and greatly increases the compile-time with link-time optimization. At the moment, a hello world binary compiled with rustc foo.rs -Z lto -O -C link-args="-s -Wl,--as-needed,--gc-sections" is 400k. It should take at most a few kilobytes for the Rust-specific wrapper around main, leaving the binary under 10k.

@alexcrichton
Copy link
Member

Closing as a dupe of #11560.

Implementing that architectural change would allow elimination of all unused I/O code.

JohnTitor pushed a commit to JohnTitor/rust that referenced this issue Aug 30, 2022
…as-schievink

minor: Add a short blurb about VS Code Live Share to the manual
Jarcho pushed a commit to Jarcho/rust that referenced this issue Aug 24, 2024
Fix case where doc_markdown is triggered on words ending with "ified"

Fixes rust-lang#13097.

r? `@Alexendoo`

changelog: Fix case where doc_markdown is triggered on words ending with "ified"
bors pushed a commit to rust-lang-ci/rust that referenced this issue Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-compiletime Issue: Problems and improvements with respect to compile times. I-slow Issue: Problems and improvements with respect to performance of generated code.
Projects
None yet
Development

No branches or pull requests

2 participants