Mail Archives: djgpp/1997/05/27/14:22:29
>No. I was reffering to "is is". What is what? Anyway, I always mispell
>prety.
>:) ALWAYS. No matter how much I pound it into my head. rar.
I spy a hypocrite in our midst. <g>
> You miss the point here. OmniBasic is NOT written in C. It is written in
>> OmniBasic. You are right in that a pure assembly approach would be
>> faster but OmniBasic was written for portability, not speed. None the
>> less is quite respectable speed wise. Although OmniBasic is C output, it
>> is frequently faster than similar C code. This is because the C the is
>> output is a much lower (rudimentary) C than C compilers normally
>> produce. In other words the code produced is more like "univesal
>> assembler" than classic C. There is some of the characteristic
>> 'code-bloat' due to the c overhead (I.E. Hello World pgms that are 8 to
>> 14k etc). This cannot be avoided. BTW my PB32 seems to have about 30k
>> overhead and it is not c-output)
>Oh. I see. GFA produces ASM output, and a Hello World program comes out
>to
>less than 6kb. I've made things that were smaller than 3k (some times
>1.5k)
>because they don't use GFA's libs at all.
>
Gee, X-Bios, you seem to have extremely selective memory. Even if you create
a 6kb executable using GFA-BASIC, you can't distribute it by itself and have
it work on every computer. In order for it to work, one also has to have in
one's possession the massive **90KB** overlay file, which you continuously
neglect to mention. That means that, if you want non-GFA users to be able to
run your programs, you have to distribute it with whatever GFA programs you
create. It hardly amounts to 6kb then, does it?
You could alternately post the OVL file seperately for people to use with all
your programs, but what if someone takes just your executable and posts it
elsewhere? The only way to make absolutely sure that everyone can use your
programs written in GFA is to distribute the overlay file with them. Most
other BASIC compilers (including OmniBasic, I presume) do not need any extra
files, and consequently produce smaller overall program sizes a good deal of
the time.
-Jesse
=========================================================
There are two major products that come out of Berkeley:
LSD & UNIX. We do not believe this to be a coincidence.
=========================================================
- Raw text -