5 ms·
>Go achieved the second-best performance at 140,000 requests per second. This number wasn’t far off from the top performer, which clocked in at 167,000 requests
by parliament32 7y ago
>Go achieved the second-best performance at 140,000 requests per second. This number wasn’t far off from the top performer, which clocked in at 167,000 requests per second.
I wonder what the top performer was... I bet it was C.
If you're doing just binary to string conversion there's no need for a features-language like Java or Node. C probably would've been a better option.
- sfifs 7y agoC/C++ are never better options because of the number and sheer variety of undefined behaviors, manual memory management and ways to shoot onself on the foot. It's something to use when there's no other choice (legacy code base, embedded systems - though this is also moving to higher level languages).
- parliament32 7y agoI promise you they are. There's a reason why over 90% of the programs you invoke or interact with on a daily basis are written in C.
- sfifs 7y agoYes. Most of them are evolutions of legacy code bases and that's why they're also security nightmares. If you're building anything new it's very hard to make a valid case for coding in C. You're almost always better off working in Rust, Java, Swift or Go