Re: rearranging routine positions

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

Hi Tone,
this issue brings up the trade-off that RDS made when designing Euphoria.

Single-Pass Interpreter (quick load times) verses Multi-Pass Intepreter
(improved code quality)

I can understand the original decision as it was no doubt influenced by the
available computer power when originally devised.

I can now no longer understand this philosophy for today's machinery. The
current Euphoria design is sufficient for small source files. However it is
counter-productive for large source files or projects, where a higher
priority is for quality of code rather than loading speeds. I maintain that
code quality can be improved if the coder can keep together related pieces
of code, regardless of the order of their loading by the interpreter. After
some discussion with Robert Craig, I feel that Euphoria will never change to
accommodate a multi-pass version while Robert has control of the product.
This, in my opinion is a sad thing.

By the way, what sort of load times are you experiencing? On my machine, a
Win32lib plus EDS program of a many thousands of lines loads in under a
second. This has never been an issue for me, so I'm a bit surprised by your
requirement.

I run an Intel Pentium III 500MHz with 256MB RAM using Windows ME. Not a
specially impressive machine, I would have thought.

------
Derek Parnell
Melbourne, Australia
"To finish a job quickly, go slower."

----- Original Message -----
From: Tone Skoda
To: EUforum
Sent: Wednesday, April 25, 2001 4:45 AM
Subject: rearranging routine positions


>utility which would rearrange routines in euphoria file
>so that they would be all at place before they are used
>would be very useful and would save me some or sometimes much time.
>if i have to arrange them by hand it is an endless process
>i can just hope i will get a combination which will work.
>if somebody has already written it i would certainly like to have it.
>or if someone is considering to write it, go ahead!
>If euporia programs startup time is faster because of this,
>then i'm for it, cause program startup time is important for me,
>but if it's for code readability or something similar, then :(.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu