Re: Re[2]: Benchmark Python vs Euphoria.
- Posted by ChrisBurch2 <crylex at freeuk.co.uk> Jan 07, 2006
- 516 views
Robert Craig wrote: > > akusaya wrote: > > BTW, both Java and Eu 2.5 uses bytecodes while running the program, > > why do you think Eu is so much slower? > > Java is a compiler (JIT). It doesn't execute bytes codes. > It compiles down to machine code. > Euphoria is an interpreter. > You might want to compare instead against the > Euphoria To C Translator. > You might also want to measure the memory > used by Java, and the start-up time. > > Also, Java cheats on things like integer overflow, > and uninitialized variable checking, and I think some > subscript checking is not performed when Java doesn't > know the size of a dimension of an array. Also Java > does not have the same, easy, flexible, totally transparent > dynamic storage allocation that Euphoria has. > They also made mistakes in implementing multithreading, > and now there are a bunch of "deprecated" multithreading > functions that you are not supposed to use. > > Regards, > Rob Craig > Rapid Deployment Software > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> Hi I'll stick with Euphoria, because I love the language, its simplicity, ease of use, and speed for my needs. If I want to write fast FPS shooters, I'm sure that another language would be more suited anyway - I don't btw. But - I'll bet that there are a fair few poeple out there who say that Java is faster, and who cares if it cheats - its the end results that matter, not the tool that get the end results. eg a beautiful spanner undoes a nut, but a really ugly rusty one does it 3 times faster - which one would you choose. Bottom line - if you need to cheat to make eu faster, then cheat. Chris