|
|
|
|
|
by chendies
3586 days ago
|
|
This is very impressive. I wonder what the server costs to run a website like Reddit would be if they hadn't used Python and instead used assembly, C or C++. The benchmarks game [1] suggests that C++ can have a speedup of 10x to 100x for many toy benchmark programs and use far less memory. A highly optimized assembly version could add another factor. While code closer to the metal would require higher investments in coding, it would be drastically easier to scale. And in the long run, server costs will dominate, so it would be beneficial to reduce those. Who knows if Reddit would be cash positive if their codebase were written in a different language? [1]: http://benchmarksgame.alioth.debian.org/u64q/cpp.html |
|