[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Re: Lua is faster than Java?
- From: "曹力" <tsowly0992@...>
- Date: Tue, 26 Jul 2005 00:55:57 +0800 (CST)
> Vijay Aswadhati wrote:
> >>On behalf of the Lua community, Mike we love you!
> >>
> >
> >
> > Aye, Aye, Aye!
>
> My group is using Lua in a 3D graphics application. We recently did
> tests where we could perform operations on a 3D mesh of 120x120 points
> (14,000 points) at 60 Hz. We had previously done the same thing in
> _javascript_ and could barely do 150 points at that rate. That's 2 orders
> of magnitude better!
>
> 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.
>
> My fear is that a JIT for Lua will just make things too damn fast :-)
>
> --
> chris marrin ,""$,
> chris@marrin.com b` $ ,,.
> mP b' , 1$'
> ,.` ,b` ,` :$$'
> ,|` mP ,` ,mm
> ,b" b" ,` ,mm m$$ ,m ,`P$$
> m$` ,b` .` ,mm ,'|$P ,|"1$` ,b$P ,` :$1
> b$` ,$: :,`` |$$ ,` $$` ,|` ,$$,,`"$$ .` :$|
> b$| _m$`,:` :$1 ,` ,$Pm|` ` :$$,..;"' |$:
> P$b, _;b$$b$1" |$$ ,` ,$$" ``' $$
> ```"```'" `"` `""` ""` ,P`
> "As a general rule,don't solve puzzles that open portals to Hell"'
>
Which _javascript_ engine did you use?
I know the JScript of Microsoft is very slow, while the SpiderMonkey of Mozilla is quite fast.
----------------------------
ShiningRay @ Nirvana
http://www.nirvanastudio.org
http://herald.seu.edu.cn/blog/shiningray
需要一个2000兆的免费邮箱吗?
网易免费邮箱是中国最多人使用的电子邮箱。