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.
[ Parent
| on HN ]
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/
It's mentioned in the post https://github.com/expr-fi/fastlwc/
Ah, I didn't see that. Thanks!