|
|
|
|
|
by jeremiep
4442 days ago
|
|
There's a world of difference between a web server handling each requests within ~1-30 ms and a game simulating the entire world made from thousands of entities under ~16ms. It is very possible to write games in high-level languages, but you will lose at least half the compute power of the machine by doing so. Note that unless you're writing a Gears of Wars, you don't really need such performance and productivity wins once again. |
|
Sounds definitive, interesting considering that in some cases languages like OCaml outperform C++.
C++ does not mystically provide good performance. Knowledge of algorithms and appropriate data structures are far more beneficial.
Does the coder know how to come up with something like http://en.wikipedia.org/wiki/Fast_inverse_square_root or the cost of a hash map verses indexed array lookup. These will win you far more than any language choice.