Scripting Speed

Started by
1 comment, last by shadowman13131 21 years, 10 months ago
Hi, I was just wondering what the average % of compiled speed most scripters get? Thanx. Edit: Btw, I'm talking about precompiled at runtime. [edited by - shadowman13131 on June 22, 2002 7:02:25 PM]
Advertisement
quote:Original post by shadowman13131
Btw, I''m talking about precompiled at runtime.


define precompiled...
A really good java VM will get to about 50% of optimized C++ speed in general, and more for certain classes of code.

However, this question is mostly meaningless unless you specify EXACTLY what kind of program you''re measuring, and what kind of implementation you''re comparing it to. Using Lua, for example, I''d ballpark the execution slowdown at between 2x and 10x, depending on how you write the code and how much you can accelerate the hard bits with carefully chosen C primitives.

This topic is closed to new replies.

Advertisement