On Mar 29, 11 04:33, Walter Bright wrote:
On 3/28/2011 1:12 PM, bearophile wrote:
Walter:
By fundamental technical issue, I mean things like Python's numeric
types
which require runtime testing for every operation, and are very
resistant
to known techniques of optimization.
Life is a bit more complex than that: - The Lua JIT has shown once and
for
all that dynamic typing is not as bad (performance-wise) as you think.
There's a lot of money and manpower behind Python. If this were true,
why hasn't this technology been done for Python?
Psyco? (http://psyco.sourceforge.net/, though it seems to be stuck at 2.6)
PyPy also supports JITting
(http://codespeak.net/pypy/dist/pypy/doc/jit/index.html)
Secondly, even Lua's proponents (like ilikecakes) says he uses Lua in
hybrid configurations with C and C++, so there is clearly some sort of
deficit with Lua.