There's another whole parallel (multi-threaded) conversation that's not about raw compute speed, but about latency. Does your app keep running when somebody holds a mouse button down? Does the API stay live when data is being crunched? Does your service handle hundreds or thousands of client requests serially or in parallel?
Those problems have completely different solutions from those addressed in the OP. The language-primitive approach doesn't begin to touch the issues involved.