GUADEC: Luis Villa points GNOME at the web
GUADEC: Luis Villa points GNOME at the web
Posted Jul 30, 2010 0:41 UTC (Fri) by ras (subscriber, #33059)In reply to: GUADEC: Luis Villa points GNOME at the web by elanthis
Parent article: GUADEC: Luis Villa points GNOME at the web
To think that Python is an answer because JavaScript is slow just proves you have abso-freaking-lutely no idea what you're talking about. Python is one of the slowest of all the popular interpreted languages out there by a good margin, and JavaScript implementations have easily taken the crown as being the fastest. Hell, even Ruby (once the absolute king of slow-and-stupid runtimes) is faster than Python these days.
Actually, Python is substantially faster than Ruby, Perl, PHP, and most JavaScript implementations for that matter. See:
That said, there is one very fast JavaScript implementation out there - V8. Given the amount of time and effort being poured into JavaScript I expect it will be the fastest in the medium term. But not in the long term, primarily because Python and JavaScript are almost identical languages under the hood. The main difference is Python has a sane syntax, so you don't have to go looking for the good parts. Given V8 already runs 3 times faster than Python, I suspect the urge to apply the techniques used in V8 to Python will become irresistible.
If you are doubting that Python and JavaScript are very similar have a look at Pyjamas, a Python to JavaScript Compiler. Turns out there is almost a 1 to 1 correspondence between Python constructs and JavaScript.
