News for hackers. Stuff that matters.
Re:Beating C with 70 lines of Go by zopppo on Wednesday November 20, 2019 @02:38PM (#21587609)
I could be wrong, but it seems like it wouldn't be difficult to outperform these implementations with a similarly hacky C implementation. I expect that blog post in the coming days.
Re:Beating C with 70 lines of Go by ajeetdsouza on Wednesday November 20, 2019 @02:52PM (#21587752)
Hey, author here. You are absolutely right - Go would have a hard time outperforming finely tuned C. Rather, the article was more focused on exploring concurrency mechanisms in Go. The (admittedly clickbait) title was more of a reference to the articles before it than anything else.

That said, I think you'll find this SIMD-enhanced wc interesting: https://github.com/expr-fi/fastlwc/

Re:Beating C with 70 lines of Go by barbegal on Wednesday November 20, 2019 @02:43PM (#21587657)
It's mentioned in the post https://github.com/expr-fi/fastlwc/
Re:Beating C with 70 lines of Go by zopppo on Wednesday November 20, 2019 @02:47PM (#21587695)
Ah, I didn't see that. Thanks!
Re:Beating C with 70 lines of Go by phaemon on Wednesday November 20, 2019 @02:41PM (#21587632)
Why wait?! Do your "Beating C with C" blog post and enjoy your HN fame!