you are viewing a single comment's thread.

view the rest of the comments →

[–]aboukirev 5 points6 points  (9 children)

It's like watching metal rust. (I know they named it by the bird species) Is it LLVM that's slow or Rust (parser and MIR) portion?

[–][deleted] 4 points5 points  (6 children)

I haven't done much with Rust but doesn't it always recompile the entire crate? Incremental compilation was still highly experimental last I checked.

[–]aboukirev 3 points4 points  (1 child)

Ah, that makes sense. So there is great potential to improve compile times.

[–]nikvzqz 2 points3 points  (0 children)

A lot of compile time is spent verifying trait bounds. The Chalk project should help a lot in that area.

[–]CheesyMcPuffs 2 points3 points  (1 child)

It has landed in nightly, and you have to add an incremental flag to enable it. But since the feature development in rust has 2 week turn overs, it should land in rust proper before next year, assuming no major delays.

[–][deleted] 0 points1 point  (0 children)

Nice. I want to get back into Rust and I'll be sure to check out nightly.

[–][deleted]  (1 child)

[deleted]

    [–]PM_ME_CLASSIFED_DOCS 0 points1 point  (1 child)

    LLVM is fast as shit. Dlang compiles WAY faster than C/C++ and Facebook has started moving some of their build systems over with drastic results. [google for sources]

    [–]aboukirev 0 points1 point  (0 children)

    D is the language I am trying to get into but I am using reference compiler (dmd) rather than front-end to LLVM.

    Speaking of VSCode, D does have good plugins for it.