17 ms·
Modern JS is pretty fast yeah, but I still don't think it rivals Objective-C does it? If we stipulate it's 1/2 as fast as Swift, it's still much faster than v8
by camgunz 9y ago
Modern JS is pretty fast yeah, but I still don't think it rivals Objective-C does it? If we stipulate it's 1/2 as fast as Swift, it's still much faster than v8 on the benchmarks game [1]. Can you be trickier with JS code than those toy programs are?
[1] http://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=swift&lang2=node http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
- pcwalton 9y agoObjective-C and Swift are completely different beasts, especially on those kinds of workloads. Idiomatic Objective-C would be much worse than that.
- camgunz 9y agoWell now that I think about it, maybe in the context of your original argument a comparison against Swift makes sense. It's hard for me to see JS ever being competitive with Swift or a similar compiled language.