Originally posted by bachchain
View Post
Announcement
Collapse
No announcement yet.
Rust Performance Is Getting Hurt On LLVM 10 With Noticeably Longer Build Times
Collapse
X
-
- Likes 3
-
Originally posted by bug77 View Post
I read that 9 years ago when Rust was first released, I'll read that 9 years from now.
I'm not terribly fond of its syntax, but the idea behind it is something that will be a must in system-programming languages to come. And while I don't use it much, simply thinking about implementing something in Rust will help you avoid some design issues.
Comment
-
Originally posted by Mario Junior View Post>llvm
>rust
Both bloat and slow crap.
Jokes aside, there has indeed been a regression in '--release' builds, less so in debug builds.
Work on compiler performance is ongoing: https://blog.mozilla.org/nnethercote/2020/04/24/how-to-speed-up-the-rust-compiler-in-2020/
Originally posted by Raka555 View Post
Maybe the rust people will rewrite it in rust ...
(I will actually cheer for them this time, if they do)
Comment
-
Originally posted by wizard69 View Post
To get the serious usage that it needs, Rust needs to be codified by a standards body. The fact that there are ANSI/ISO standards for C & C++ has keep those languages viable far longer than maybe they should have survived. Rust will stay around but I can't see serious users doing anymore than playing with it for now.
JS, C and C++ are probably the only languages that are still widely (i.e. not in some niche industry) used with the new projects (and not just legacy maintenance) with the actual ISO standard (and language development centered around ISO processes).
Comment
-
Originally posted by wizard69 View Post
To get the serious usage that it needs, Rust needs to be codified by a standards body. The fact that there are ANSI/ISO standards for C & C++ has keep those languages viable far longer than maybe they should have survived. Rust will stay around but I can't see serious users doing anymore than playing with it for now.
Rust, like any other language, is a tool. It will be a good choice for the problem you're trying to solve or it won't. As long as there's a class of problems Rust solves easier than any other language, Rust will see usage.
- Likes 1
Comment
-
Originally posted by Almindor View PostSadly LLVM devs have a tendency to ignore issues related to only Rust (see years old aliasing bugs in LLVM that'd make Rust outperform even C in some cases).
The best thing about vapor-features is that you get a sweet marketing boost without actually delivering anything...Last edited by JustinTurdeau; 12 May 2020, 04:52 AM.
Comment
-
Originally posted by JustinTurdeau View Post
You Rustbots can never pass up an opportunity to tell people how Rust could, in theory, be faster than C.
The best thing about vapor-features is that you get a sweet marketing boost without actually delivering anything...
All that was said is that there is at least one LLVM bug that prevents that from happening.Last edited by bug77; 13 May 2020, 09:56 AM.
Comment
-
Originally posted by bug77 View PostI'm not why you think performance is an issue with Rust. Rust produces LLVM IR (and prides itself for zero-cost abstractions). From there on, any code generated should perform exactly the same.
All that was said is that there is at least one LLVM bug that prevents that from happening.
Saying "hurrr, it generates LLVM IR so it should be fast" is brainlet-tier logic. The generated IR still has to be good. Just because you don't understand it and think of it as a magic black box, doesn't mean all generated LLVM IR is equivalent and equally fast. It can be worlds apart.
Comment
-
Originally posted by JustinTurdeau View Post
This is just handwaving and wishful thinking.
Saying "hurrr, it generates LLVM IR so it should be fast" is brainlet-tier logic. The generated IR still has to be good. Just because you don't understand it and think of it as a magic black box, doesn't mean all generated LLVM IR is equivalent and equally fast. It can be worlds apart.
Unless you think for some reason Rust is incapable of outputting proper LLVM IR.
Comment
Comment