🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.apps
Article #3614

Re: Execution speed of QuickBASIC vs Turbo Pascal?

#3614
From: Matt Mora
Date: Wed, 08 Aug 1990 16:15
30 lines
1732 bytes
In article <23545@dartvax.Dartmouth.EDU> byoung@eleazar.dartmouth.edu (Brian Young) writes:
>I am using a MacAdios data acquisition package with an SE and am running into 
>problems with the execution speed of QuickBASIC (compiled not just 
>interpreted).  I would be interested in hearing from anyone that could 
>tell me whether Turbo Pascal would execute an equivalent amount of code more 
>quickly.  Please, no replies saying "get a faster computer".
> 
>                                    Thanks, Brian.



QuickBasic has a feature called pure code resources that might help you.
You can write external procedures in another language (C,Pascal or asm)
and have them be called from your quickbasic program. This way you
could keep the interface in Quickbasic and the time critical code
in an extrernal. I use this all the time.


There are a lot of ways to speed up the execution time of quickbasic programs.
I'm sure that any pascal compiler would generatge more effecient code than
basic.




-- 
___________________________________________________________
Matthew Mora                |   my Mac  Matt_Mora@sri.com
SRI International           |  my unix  mxmora@unix.sri.com
___________________________________________________________
Technical Details
Message-ID: <14995@unix.SRI.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cornell!uw-beaver!Teknowledge.COM!unix!mxmora
References: <23545@dartvax.Dartmouth.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cornell!uw-beaver!Teknowledge.COM!unix!mxmora
From: mxmora@unix.SRI.COM (Matt Mora)
Newsgroups: comp.sys.mac.apps
Subject: Re: Execution speed of QuickBASIC vs Turbo Pascal?
Message-ID: <14995@unix.SRI.COM>
Date: 8 Aug 90 16:15:47 GMT
References: <23545@dartvax.Dartmouth.EDU>
Reply-To: mxmora@unix.UUCP (Matt Mora)
Distribution: usa
Organization: SRI International, Menlo Park, CA
Lines: 30