speed of eu 2.5 + dynamic inclusion
- Posted by Alexander Toresson <toressonodakra at swipnet.se> Nov 20, 2004
- 1123 views
Now that I've tried the new interpreter, I find the parsing speed of it to be unacceptable. I do normally program everything on my laptop, to make myself able to work anywhere. It's not very fast. It's a p2 300. And because of that I get another advantage: I can easily see how a program of mine performs on a slower computer. And I expect euphoria to work at an acceptable speed on older systems too. Because I care about back-compatibility and I think it's one of the biggest factors one has to take into account when developing an application. The first application I developed was a DOS application, intended to run on a 486 75. I wouldn't dare of doing that now. Here are the times(p2 300): Simple win32lib application: 10s startup (eu2.4: 1.5s) MEditor: 1 min 10s startup (!) (eu2.4: 3.5s) I've also found out that because everything is parsed before the program is run, dynamic inclusion cannot be done, ie writing include statements to a file and then including it. For example, both the jarod library, my asm debugger and a project I currently work on is affected. They simply won't run. It can be worked around for jarod and the asm debugger, though it cannot be worked around for my current project. It includes all *.e files it finds in a specific directory, using them as plugins. And no, don't tell me to compile them into dlls. Because that shouldn't be needed. And I don't own the full translator. This is it. I'm downgrading to 2.4. Even though it'll mess up my associations again. Oh well. Regards, Alexander Toresson Shhh! Be vewy quiet! I'm hunting wuntime ewwows!