Re: Congrats, David!

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

Tone Skoda writes:
> Robert, why didn't you write E2C in Euphoria? It seems
> Euphoria is totally capable of doing this job. Are you
> affraid it would be too slow? Which language was it?

The Translator shares the same "front-end"
(scanner, parser etc., written in C) as the interpreter.
This allows me to re-use existing code
and maintain maximum compatibility
between the interpreter and the translator.

If you've run the Translator, you'll know that it only
takes a few seconds to translate a large Euphoria
program into C. Your C compiler will likely take
longer just to compile one of the many .c files that are
produced. If the Translator had been written in Euphoria,
the speed would have been acceptable, even using
the Euphoria interpreter to run it, but of course you
would translate the Translator into C and get something
very close in speed to one done in hand-written C.

As an isolated, stand-alone project, done from scratch,
I would definitely have done it in Euphoria. Coding in
Euphoria saves you a lot of time and headaches
compared to C.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu