Re: Some Euphoria questions
- Posted by Pete Eberlein <xseal at HARBORSIDE.COM> Aug 17, 2000
- 651 views
Cool beans! I especially like euphoria.h... Thanks Rob! Some of the variable names are a bit odd though, as well as the use of goto & labels instead of loop constructs. But I must say, very cool indeed. :) Pete On Thu, 17 Aug 2000 12:06:27 -0400, Robert Craig <rds at ATTCANADA.NET> wrote: >See attached. I've included: > sieve.c - sieve routine > main$.c - "top level" code > main.h - include file for sieve program > init$.c - initializations for sieve > euphoria.h - standard include file > make.bat - batch file to do the WATCOM compiles/link of sieve > objfiles.lnk - WATCOM link file for sieve > >All files above were generated automatically by the translator, >by typing: > ec sieve >except for euphoria.h which is a standard file needed by all >.c files generated by ec (or ecw or ecu). >The file ec.lib, needed for linking, is not included. It's 68K. > >> 2. Do you plan to eventualy make compiled >> Euphoria programs run faster than equivalent C programs? > >No. Just get as close as I can. >The sieve program (above) currently runs about 2/3 as fast as >hand-coded and fully-optimized C for sieve. >There are still several places where the generated C >code can be improved by further optimization, but >I'll do it after the alpha release (in a couple of weeks). > >> 4. Who the hell is part of RDS? Just you and your wife? > >Yes. > >Regards, > Rob Craig > Rapid Deployment Software > http://www.RapidEuphoria.com > >