2 ms·
Throughput numbers seem misleading as well for cross-language comparisons? Each language has its own conventions for how much to rely on stacks versus speciali
by skybrian 8y ago
Throughput numbers seem misleading as well for cross-language comparisons?
Each language has its own conventions for how much to rely on stacks versus specialized memory pools versus garbage collection. For example, in Go, you often have a stack per request, and can use it for some per-request data as an alternative to GC. That's going to change required throughput for an equivalent amount of work. As will differences in escape analysis.
I don't know how much that matters, but it seems like this makes cross-language comparisons pretty subjective. You need to decide what an equivalent app would be in each language. Are you comparing idiomatic or optimized code and what does that really mean? External validity seems pretty limited.