Ask HN: Fastest language for iteration and arrays manipulation?
https://news.ycombinator.com/item?id=21965665I currently have a microservice written in js which basically query a redis db and iterate few hundred or thousands times while geting/pushing values from/to arrays in multiple for loops.
It's made to build line of sight of players for a mmo game.
The service run as a loop, ideally at 60FPS (1 iteration = 16ms). More players in the world = more time to iterate.
I have the belief that writing in C++ the same would be faster but: 1. That's a belief, I didn't do any benchmark 2. I don't have the belief that C++ will be the fastest to do it.
What HN does think about that ?