Originally posted by mirmirmir
View Post
Announcement
Collapse
No announcement yet.
Rust-Written Replacement To GNU Coreutils Progressing, Some Binaries Now Faster
Collapse
X
-
- Likes 4
-
Originally posted by kylew77 View PostI will need to see benchmarks of any language being faster than C that is not named machine code or assembly. I find it VERY hard to believe that any Rust language program can beat a pure C language program. I have some friends that are die hard Rust fans and I don't see the point in learning it when I already know C and C++. Throw in a bit of shell scripting, Perl Scripting, and good old C and you can write an entire OS!
- Rust can assume strict aliasing, helping the optimizer
- Rust's built-in data structures (e.g. their Has map) tend to be pretty well optimized compared to the average basic C implementation
- Likes 11
Comment
-
You can have your own opinion about licensing, but don't forget to be thankful for the engineering behind GNU that made this effort possible.
Originally posted by Sylvestre LedruBecause the GNU testsuite is excellent, we now have a proper CI using it to run the tests.
TLDR: we are making progress on the Rust implementation of the GNU coreutils. Well, it is an understatement to say my previous blog post interested many people. Many articles, blog posts and some podcasts talked about it! As we pushed coreutils 0.0.12 a…
Especially this:
Originally posted by Sylvestre LedruFollowing a suggestion of Brian G, a colleague at Mozilla (he did the same for some Firefox major change), we are now collecting the history of fail/pass/error into a separate repository and generating a daily graph showing the evolution of regression.
gnu-results.png?raw=true.png
Cheers and have a splendid weekend.
- Likes 8
Comment
-
Originally posted by JellyBrain View PostBut doesn't the Coreutils inherntly need to use unsafe code in rust (because it's directly interacting with the operating system)?
It doesn't gain the advantage of rust's memory safety, right?
Or is it still reduces the amount of unsafe code they use, and they still gain it on all the other code?
I am really asking, I don't know if my assumption is correct.
- Likes 11
Comment
-
Originally posted by Quackdoc View Post
try using adneaseum if you can, supposedly it just hides ads instead of blocking them, and you can even set it up to click on some ads. and it works well enough on desktop, I've not tried it on mobile yet. and if it works as it says, seems like a win win to me, (assuming preformance isn't an issue)
Not to mention that I've been meaning to do an audit of my FF plugins so installing that and dealing with its conflicts was the perfect motivation.
Comment
-
Originally posted by skeevy420 View PostEven better is the licensing. MIT. That means that all sorts of operating systems can pick it up and fully integrate it into their stack without worrying about violating the GPL.
- Likes 21
Comment
-
But doesn't the Coreutils inherntly need to use unsafe code in rust (because it's directly interacting with the operating system)? It doesn't gain the advantage of rust's memory safety, right? Or is it still reduces the amount of unsafe code they use, and they still gain it on all the other code? I am really asking, I don't know if my assumption is correct.
- Likes 11
Comment
-
Originally posted by kylew77 View PostI will need to see benchmarks of any language being faster than C that is not named machine code or assembly. I find it VERY hard to believe that any Rust language program can beat a pure C language program. I have some friends that are die hard Rust fans and I don't see the point in learning it when I already know C and C++. Throw in a bit of shell scripting, Perl Scripting, and good old C and you can write an entire OS!
so it could be that rust coreutils just rely more on an optimized library than a c implementation.
that said: c is faster. but it is easy to develop slow c code (it is easy to develop slow code in any language).
- Likes 1
Comment
-
Originally posted by Quackdoc View Post... and preformance gains, hardly a "waste of time" but if you read the article you would know that
One could have spent the time to improve GNU Coreutils performance if there is an opportunity to do so. So instead of giving back to the GNU Coreutils, which people have been using for decades, are the GNU Coreutils instead used to make a show.
Frankly, not giving back, but instead making it into some sort of cancel culture is pathetic.
- Likes 8
Comment
-
Originally posted by sdack View PostBut it is. It is a waste of time when they could have spent their time on fixing GNU Coreutils. Instead, have they created yet another clone, made another claim of RUST being safer, and without providing actual evidence.
One could have spent the time to improve GNU Coreutils performance if there is an opportunity to do so. So instead of giving back to the GNU Coreutils, which people have been using for decades, are the GNU Coreutils instead used to make a show.
Frankly, not giving back, but instead making it into some sort of cancel culture is pathetic.
I don't know if you ever programmed in C, but it is leagues easier to work with rust and optimize code. there is plenty of evidence to rust being safer to work with than C, that doesn't mean that C cannot be safe, just that it is far easier to do. no one made a show of this. they changed it to a more permissive licensing, maybe because it suits their needs better, or maybe they just like the license better.
re-write in rust, as much of a meme, IMO is a great thing, because rust is just simply IMO far easier to work with and get similar or better preformance than other languages.
it's the GNU cultists that constantly make a stink about things like this, don't get me wrong, I love gplv2, I think it is a great license. but I see no proof this has any relation to "cancel culture"
- Likes 20
Comment
Comment