HNHacker News
TopNewBestAskShowJobs

SimpleGoto1080

-4 karma · joined March 13, 2021

submissionscomments
SimpleGoto1080··on Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust
Thanks for the tips

I'm not sure if people think benchmarks is just the numbers but I wanted to see source so I can why it was faster and what conditions. C++ is basically an assembler and saying you're faster than assembly is either completely untrue or it'd be poorly written assembly which should be examined.

So essentially I wanted actual code with example numbers

SimpleGoto1080··on Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust
Maybe it was negative but how else would you talk about a problem with an article? Every benchmark I seen with actual numbers and code had C++ faster except for one and we were able to check the source to why
SimpleGoto1080··on Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust
Correct. I misspoke. I wanted to edit but the site was down and it looks like I can't any longer
SimpleGoto1080··on Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust
The other day someone posted rust was faster than C and I asked for context because the article had no proof. My post was flagged

This article shows exactly why C is nearly twice as fast as C++ and why rust is in between. This is a good article, the other thread was a bad article and bad thread