Re: Euphoria vs Lua

new topic     » goto parent     » topic index » view thread      » older message » newer message

Well, regarding speed i have made some very modest benchmarks of Euphoria vs
Lua.
One is opening a file as bytes, thresholding the values and writing back the
file.
The file is closed during processing and the written file differs from the read
one.
On this benchmark Euphoria is at least 10 time faster than Lua, I guess it is
probably
even faster but I haven't run iteratively just not to access the disk a lot of
times.
On a second bench which is purely computational: expo computation with a Taylor
serie
without any optimization Euphoria is 100 time faster than Lua. That time the
bench is
100000 time to be accurate. Even if the accuracy of measurements is not perfect 
because I use the os.clock() function for Lua and Time() for Euphoria it is
really obvious
just waiting for the Lua program that Euphoria is a lot faster.
About display I haven't made any comparison, but I have notices in some previous
programs
with Euphoria that it was not very quick on Win32 platform. Not critically
slow, but not really fast. 
I suspect that Lua handles any variable as an associative table in an unified
way.
>From an intellectual standpoint it's nice but rather slow in practice. 
Too bad. Would have been great to have the functionalities of Lua with the
speed of Euphoria, not to mention that Lua is from Brazil which is a nice 
way to promote achievements in this nation (Brazil is not only girls and cachaca
blink.

Best regards.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu