News for hackers. Stuff that matters.
Re:CLI: Improved by the8472 on Thursday August 30, 2018 @05:31PM (#17880967)
I had a case where tar was too slow for my needs. Rust did let me cobble the right syscalls and threads together to make it more HDD-friendly and faster while forcing me to handle all the gritty filesystem error cases from the start. Lo and behold, about 4 times faster on an idle system and orders of magnitude faster on a busy system. It just would not have been possible to do it by combining shell utilities and too finicky in C.
Re:CLI: Improved by carlmr on Friday August 31, 2018 @02:33AM (#17883400)
That's the thing with Rust, it makes you work hard right from the start to make everything right, but when you have something working it's usually fast, too.
Re:CLI: Improved by thethirdone on Thursday August 30, 2018 @05:56PM (#17881153)
Do you have the code posted online? I would like to take a look through it.
Re:CLI: Improved by the8472 on Thursday August 30, 2018 @05:59PM (#17881177)
Re:CLI: Improved by tretiy3 on Thursday August 30, 2018 @07:03PM (#17881581)
Only 117 lines of code? Impressive.
Re:CLI: Improved by the8472 on Thursday August 30, 2018 @07:08PM (#17881622)
I have moved the meat of the optimizations to separate libraries, they're linked in the readme.