[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua is faster than Java?
- From: Mike Pall <mikelu-0507@...>
- Date: Mon, 25 Jul 2005 20:46:13 +0200
Hi,
Chris Marrin wrote:
> For us the issue is not whether or not Lua is faster or slower than
> Java. It is that it is incredibly fast and adds only around 200k (with
> all the libs) to our engine. Java is just too heavyweight to fit into
> our core.
In true Lua spirit I'm trying to cram the whole JIT engine
in under 50k (I'm at 23K right now). No, this is not a typo.
> My fear is that a JIT for Lua will just make things too damn fast :-)
My current guess, based on some micro-benchmarks: 2x-10x
YMMV of course.
This means there is hardly any reason to write C code anymore,
except for computing-intensive or low-level stuff. And you
still need C for interfacing to system libraries (but I have
some ideas for that, too).
Bye,
Mike