Unofficial Hacker News client - receive Push Notifications on replies.

Optimizing Rustc's next trait solver (opens external site)

212 points by g0xA52A2A 5 days ago | donsz.nl | 48 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (1)

  1. It is very obvious if you try to actually do something without libc in rust. It is just a major pain. You could theoretically do it but not really in practice.

    Doing `RUSTFLAGS="-C target-cpu=native" cargo install --path . --locked` on my project.

    With lto=`thin` just takes 3.6 seconds on my pc which is very bad if you compare it to the c++ project.

    Also the output binary is 1.3MB which is also supremely bad.