
Free/Share Basic software with compiler
Quote:
>On Thu, 17 Jul 2003 17:55:20 +0000 (UTC), Carl E Gundel
>>Liberty BASIC also has a similar mechanism. Often a real EXE compiler
>>isn't needed at all, but there seems to be a bias against runtime engine
>>based solutions.
>The bias probably goes back to the days of the 8088, when many
>applications just wouldn't run fast enough unless they were compiled
>all the way to machine code. On a P4 box, even a GWBASIC application
>would probably run faster than equivalent machine code on an 8088.
You wouldn't even need to go that far.
GWBASIC is about twice as fast as Chipmunk Basic on the same hardware;
and Chipmunk Basic executes most stuff around 50x to 200x slower than
the equivalent compiled and optimized C code.
That means that using GWBASIC on a measely Pentium MMX 233 would easily
outperform the best C or even hand-coded assembly language running on
an original IBM PC with an 8088. My guess is that GWBASIC code on a
fast P4 box would probably outperform a 386 PC running the best compiled
C code.
Chipmunk Basic (Mac Classic, Mac OS X, Linux/x86 and Windows releases):
http://www.nicholson.com/rhn/basic
IMHO. YMMV.
--
Ron Nicholson rhn AT nicholson DOT com
#include <canonical.disclaimer> // only my own opinions, etc.