3 ms·
I’ve spoken to my friend about this and why it’s so much faster, he said it could be done in c as well but rust is much easier to write. Pretty impressed with r
by GhettoComputers 5y ago
I’ve spoken to my friend about this and why it’s so much faster, he said it could be done in c as well but rust is much easier to write. Pretty impressed with rust, I just heard many people insulting it at first, throwing around “memory safe” and it seemed like rust programmers were trying to ingress into established programs and there was a great deal of hatred for it.
I fell in love with the performance of rust CLI tools and mainly see its utility as a fast performing binary, memory safety is a bonus but if I had known about its performance earlier I would have ignored anti rust propaganda like quoting Linus saying “Nothing better than C”.
- DenseComet 5y ago> he said it could be done in c as well but rust is much easier to write This article is a good example http://dtrace.org/blogs/bmc/2018/09/28/the-relative-performance-of-c-and-rust/ http://dtrace.org/blogs/bmc/2018/09/28/the-relative-performa...
- GhettoComputers 5y agoThank you so much for this article, I knew benchmarks were usually nonsense in real world performance when I used it, but rust wasn't ever seen, and these real world implementations show that it really works well.
- mustache_kimono 5y agoYeah, the hate for this project is ridiculous. I'm not a professional programmer. I did it just for fun, because I wanted to learn Rust. Some of these tools need someone to fill out some basic functionality, and you probably use some of these tools everyday, so you already know the spec. (FWIW I'd recommend contributing to anyone who is looking for a basic Rust project. It has a very welcoming project leadership.) And, yes, so-called "free concurrency" ended up being an incredible performance story, although, full disclosure, I/we were just able to use rayon in many places because Rust is just that composable.
- podiki 5y agoSorry if that came off as "hate" or being dismissive, did not intend it that way! Just genuinely curious given the difficulties I'm seeing on the distro side around Rust packaging, at least for Guix that goes from source in a reproducible/bootstrapable way (which seems very difficult beyond x86-64).
- mustache_kimono 5y agoOh, not at all! I'm sorry I gave that impression. I was referring to uutils, and, more particularly, some folks (GPL advocates) who are disappointed about the choice of license (MIT). See, for example: https://github.com/uutils/coreutils/issues/2757 https://github.com/uutils/coreutils/issues/2757
- deleted 5y ago[deleted]