3 ms·
Quake was released in 1996, so what's so amazing about that? Because of Moore's law a 20 year old game running in IE6's javascript engine would probably be fast
by mattmanser 11y ago
Quake was released in 1996, so what's so amazing about that? Because of Moore's law a 20 year old game running in IE6's javascript engine would probably be fast enough.
The equivalent Ruby, Python or PHP could easily run Quake on today's hardware.
Also, what do you mean by 'much'. Like orders of magnitude or 30%? Microbenchmarks are fairly useless.
- coldtea 11y ago>Quake was released in 1996, so what's so amazing about that? I didn't say Quake 1. Actually all of Quake 1-4 has been ported to run under JS/WebGL. Besides, it's still amazing given that the rendering happens in high resolutions and gets good refresh rates. Moore's law or not, Python and Ruby can't pull this off with the same speed. >Also, what do you mean by 'much'. Like orders of magnitude or 30%? For things that test the raw language (e.g. its interpreter and implementation, instead of directly calling to some C helper that does everything like e.g. Math.cos would do) it's usually an order of magnitude.