2 ms·
The bottleneck in web apps very rarely is in hot loops that benefit from native-code speed. Most of the time you spend waiting for an HTTP response is either wa
by lolinder 3y ago
The bottleneck in web apps very rarely is in hot loops that benefit from native-code speed. Most of the time you spend waiting for an HTTP response is either waiting in line to be processed or waiting for the database or other external services to do the heavy processing. Optimizing on web means ensuring you're processing the queue efficiently and making fewer, more efficient database calls.
I'm not familiar with either implementation, but I wouldn't place an a priori bet on Rust over PHP for web. We've had many many years to figure out how to build efficient PHP apps and very little time to figure that out in Rust.