Re: Euphoria To C -- I\\\'m Back!

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

On Thu, 7 Sep 2000 22:16:44 -0400 Robert Craig <rds at ATTCANADA.NET> wrote:
>> Anyways, Robert, it took me 30 minutes of waiting
>> just to compile Mic's gouraud.ex
>
>That happens to be one of 3 or 4 contributed programs
>that I couldn't compile either. Watcom 10.6 gives me a
>message saying main_.c is too big, break it up.
>For you, Watcom probably got hung up.
>I'll see what I can do about it.
>The translator will try to break a
>large .c into a bunch of smaller ones, but I need to tune
>the algorithm a bit. (The programmer could also try to
>break things up a bit.)

So it's not a problem with my RAM and CPU speed, it's a Translator problem. I
had the same thing happen to me with almost all graphics demos. Except for NEIL
based programs, but they just ran out of memory and didn't start up, while the
Interpretted versions do.

>> WTF am I doing wrong here?
>> (read: prolly nothing other than that I don't have
>> Causeway installed and use DOS4GW instead)
>
>Your sieve.ex results look ok, maybe a bit too good for the
>translator. Your other results don't look right.
>I tried shell.ex on my machine using Watcom 10.6 and DOS4GW.
>(I simply editted objfiles.lnk, changed "system Causeway" to
>"system DOS4G", then ran emake.bat again, and shell.exe again.
>Shell was about 4.5x faster than with the interpreter.

Yeah Sieve looks good.
What I did last night was change system Causeway to system pmodew and system
dos4g, but nothing.
The only program wich apears to run at reasonable speeds is Sieve.ex, anytime I
compile it, in whatever system mode (even none).
But the rest runs slow as hell no matter what I do!

Compiling goes perfect for those program that do compile (no errors), and the
executables produced rarely crash, but some things don't make sense. Take Sky.ex
from Jiri for example, it runs perfectly on my system when interpretted. When
translated and compiled, I get a message saying "could not allocate memory". Why
is that?
It's not the DOS extender's fault because I tried both DOS4GW and Pmode.


>There's probably something misconfigured with your
>"freeware" (pirated?) partial installation of Watcom.
>You should use the same compile and link flags as me,
>except for "system DOS4G".

I do use the same compile & link flags as you, I only change system Causeway
because I have no such system mode.

>> And yes Rob, Pixel() is 2 to 4 times slower
>
>It wasn't for me, using DOS4GW or Causeway.
>I hope you aren't including the delay of several seconds
>at the start of execution (in your free version).
>You should call time() before and after the loop.

I don't count the delay, Ijust count a loop, plus I see several graphics
programs (the ones that work when compiled) wich use Pixel() and see them drawing
at half the speed.
map.ex being one of them.

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

There are some big problems with the translators Robert.
I have a free version, and because Watcom isn't sold anymore, people can ONLY
get free versions. Mine is pretty complete and works excellent for DOS
programming (I even compiled a commercial 3D Engine named BUILD wich was used in
Duke Nukem 3D with my Watcom version, and there were no problems.), I use it
often for small programs.

So if my version, wich is free and not the complete original, shows so many
problems, then so might that Open Source "free" version. Becuase OpenSource does
NOT mean that anyone can distribute Watcom data files and libraries, it only
means anyone can distribute the source to/and compiled tools. It could be that
that Open Source version only uses the Watcom COMPILER, wcc, slightly modified,
and has a totaly different directory structure than the Watcom you buy in the
stores. It could be that the people working on the project just use a library
from the Watcom source to create their own 32-Bit compiler wich looks nothing
like Watcom.

In short: DROP WATCOM!

Support GCC, that way you can jump from DOS to Linux to Windows to PalmOS to
Playstation to Nintendo 64, etc.

Mike The Spike

*********************************************
Want free email? Sign up at http://www.freeze.com !

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

Search



Quick Links

User menu

Not signed in.

Misc Menu