Search found 724 matches

by stevepoole
Mon Nov 24, 2014 11:00 pm
Forum: Software & Programming
Topic: SBASIC & C++
Replies: 108
Views: 52895

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: 52895

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: 9098

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: 52895

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...