113
waiting for rust-analyzer (backend.xylight.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] Sigmatics@lemmy.ca 5 points 1 year ago
[-] Zalack@startrek.website 36 points 1 year ago

Compiled Rust is fast.

Compiling Rust is slow.

Also my understanding is that RustAnalyzer has to compile all Rust macros so it can check them properly. That's not something that a lot of static analysis tools do for things like C++ templates

[-] LPThinker@lemmy.world 22 points 1 year ago

This is, in part, a correlation. To some extent, compiled Rust is fast because compiling Rust is slow. That is, Rust does a lot of work (static analysis) at compile time so that the runtime binary is as fast as possible.

load more comments (1 replies)
load more comments (1 replies)
this post was submitted on 03 Aug 2023
113 points (96.7% liked)

Programmer Humor

19564 readers
863 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS