News for hackers. Stuff that matters.
Re:A Little Story About the `yes` Unix Command by glandium on Wednesday October 11, 2017 @08:48PM (#15454828)
According to empirical evidence in my sibling post, that's not true in this case.
Re:A Little Story About the `yes` Unix Command by benaiah on Wednesday October 11, 2017 @09:04PM (#15454891)
Your post seems to demonstrate _exactly_ what the post you're replying to is saying: most of the speed has to do with I/O strategy (buffering and syscall usage), not the actual speed of the involved language. Maybe I'm missing a distinction you're making, but I'm not following how your previous comment leads to what you're saying here.
Re:A Little Story About the `yes` Unix Command by glandium on Wednesday October 11, 2017 @09:28PM (#15454999)
The rust version that does exactly what python does (buffered output) is an order of magnitude faster (even if I force the rust buffer size to be 4KiB like with python2).
Re:A Little Story About the `yes` Unix Command by kibwen on Wednesday October 11, 2017 @09:31PM (#15455015)
To head off this comment chain, I've softened the language in my original comment to "overwhelmed by" rather than implying that non-I/O factors are wholly irrelevant. :)