[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Lua is faster than Java?
- From: "Ive" <neosettlers@...>
- Date: Mon, 25 Jul 2005 14:59:05 -0400
Humm... I don't have a huge background in coding beside c++ and
opengl... and im wondering if ne1 can come up with a description of what
JIT engine means... ;) ... something to do with binary code -> no
parsing/compilation require kind of stuff?
thx
-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Mike Pall
Sent: Monday, July 25, 2005 2:46 PM
To: Lua list
Subject: Re: Lua is faster than Java?
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