Search found 716 matches

by stevepoole
Tue Nov 25, 2014 8:31 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52206

Re: SBASIC & C++

After years of doing without, I managed to get my program TURBO'd and it does indeed run several times faster.
As for SuperBasic C-Port, where can you get this from?
Steve.
by stevepoole
Mon Nov 24, 2014 11:25 pm
Forum: Software & Programming
Topic: Printing SuperBASIC programs
Replies: 13
Views: 9059

Re: Printing SuperBASIC programs

Hi Rich,
I just tried your short code fragment, both as a program, and as direct commands. The result was a printer lockup. Yet 'par' works OK in my little program...wierd!
Looks like LIST#3 fails on QPC, or is it SMSQ/E?
Steve.
by stevepoole
Mon Nov 24, 2014 11:00 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52206

Re: SBASIC & C++

So C68 progams are some 10 times faster than uncompiled SBasic. Ok that means the Travelling Salesman Program could run as fast as the current KLT algorythm running on a Mac under C++. This bodes well for the SBasic progam, which is as yet far from fully optimised. Is C68 a cross-compiler, or do you...
by stevepoole
Mon Nov 24, 2014 6:00 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52206

Re: SBASIC & C++

Thanks Tobias. I am not thinking about quitting QPC, just porting a Travelling Salesman program to C++, that is, if it will run faster, for non-QL users. At present, that would be useful if I can get an acceleration of around 9 times, which would make it a very fast program by any standards. I timed...
by stevepoole
Mon Nov 24, 2014 2:59 pm
Forum: Software & Programming
Topic: Printing SuperBASIC programs
Replies: 13
Views: 9059

Re: Printing SuperBASIC programs

I use the following procedure added at the end of my code : To get a printed listing from any printer, just typre the command print_out after a break. But note that when the listing has been printed, you need to turn off the printer manually! I do this very often, and it has never failed in years. 1...
by stevepoole
Mon Nov 24, 2014 2:22 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52206

SBASIC & C++

Has anyone seen benchmarks comparing the speed of the same algorythm running in SBasic and C++. I have an offer to transcode a SBasic program into C++, but do not wish to put the person to trouble unless C++ is definitely considerably faster than SBasic. I have read that Visual basic is almost as fa...