|
|
|
|
|
by arcticbull
4266 days ago
|
|
This amounts to a nice benchmark of various implementations of rand() ^_^ Generally, a language in and of itself doesn't have performance characteristics. What you are measuring is the quality of the output of it's compiler. While he indicates PHP is way at the back of the pack, I'd guess that a few years ago JavaScript would be right there with it, but by designing sufficiently advanced compilers you can make any programming language fast. I remember reading a few years ago that on MacOS X (PowerPC), code generated by IBM XLC was some 50% faster than that generated by GCC for some benchmark (this was before LLVM) -- and that was on the same exact language. |
|