Hacker News new | past | comments | ask | show | jobs | submit login

> but because the borrow checker disappears when doing web development, you get so many free things from the language that you don't have to pay for.

Don't you end up paying for it with compile times? Because the borrow checker has to check all your lifetime annotations and do a bunch of work, just to come to the conclusion that your simple two-lifetime (or whatever) setup is in fact valid?




The borrow checker isn't what makes Rust compile slowly. It's largely code generation. Borrow checker stuff appears near-instantly in your editor.


Gotcha—thanks for letting me know!


lifetime checking is only done locally (inside function definition), not globally so it's relatively fast.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: