[comp.lang.pascal] Pascal

lsr@apple.UUCP (Larry Rosenstein) (11/10/86)

In article <1144@cit-vax.Caltech.Edu> rs4u#@andrew.cmu.edu.UUCP (Rich Seigel) writes:
>
>I understand that Object Pascal can really slow down a compiler. A friend
>uses MPW (the Macintosh Programmer's Workshop, from Apple) at work, and he
>says that the regular Pascal compiles about as fast as TML, but the Object
>Pascal code compiles much more slowly...
>

There is no difference in compilation speed for regular Pascal constructs
and Object Pascal constructs.  There is nothing inherent in Object Pascal
that makes it slow to compile.

There are 2 possible reasons for thinking that Object Pascal is slow to
compile.  (1) The person was using it with MacApp, which has a large
interface section.  Much of the compiler's tiem is spent parsing
interfaces.  (2) The person was using the beta release of MPW which did not
support the $LOAD feature for Object Pascal.  $LOAD allows you to save
symbol tables in a binary format that are fast to load into the compiler.
This has been fixed in MPW 1.0.

Using the latest compiler, the turnaround time for a small change to a
MacApp progam is 2-3 minutes.  This is much slower than LSP, but much
faster than using the beta MPW compiler w/o $LOAD.


-- 
Larry Rosenstein

Object Specialist
Apple Computer

AppleLink: Rosenstein1
UUCP:  {sun, voder, nsc, mtxinu, dual}!apple!lsr
CSNET: lsr@Apple.CSNET

josh%ILJCT.BITNET@wiscvm.wisc.EDU (04/01/87)

Hi Folks,
  I've got this slight problem with Turbo Pascal running on the PC-AT. I'm
using Database Toolbox and I've got this weird bug. Sometimes when I change the
contents of my program, but make no changes in the data files, index files, or
toolbox affiliated variables, my program bombs and throws me out to DOS when
I do different operations on the file (open, add, delete, close). I use a
couple of machine language external subroutines, which work perfectly, but
I'm almost positive that I don't stray into any illegal neighborhoods in
memory. When I erase my data and index files and start over, everything works
fine. Any suggestions?
  Also, is there any way to open the serial port on the PC with Turbo Pascal?
  Thanks.
  Josh Males  (JOSH@ILJCT.BITNET)

steep-mo-m@HUACHUCA-EM.arpa (John Shaver Modernization Office) (11/24/87)

Is the person who wanted some sample programs to test his Pascal Compiler
still looking for some.  I have some programs, but I cannot seem to get mail
to him directly.

John

I2010506%DBSTU1.BITNET@cunyvm.cuny.edu (07/25/89)

Date: 25 July 1989, 10:38:51 MEZ
From: Christian Boettger        +49 (0)531 3915113 / I2010506 at DBSTU1
To:   info-pascal at vim.brl

Hi,
we are "upgrading" from DOS 3.30 tp OS/2 for several reasons. Some of
our PC's will remain under DOS. Up to now we used TurboPascal 4.0 as our
preferred programming language. As far as we are informed, there is no
version of TP running under OS/2. We do have lots of source code for TP4
and we are not very keen on re-writing all of it. Some rumours say that
QuickPascal 1.0 (Microsoft) is able to compile code that is written for
TP. Does anyone know whether this is true or not??? And if it is, what
happens to programs that USE the standard unit DOS, CRT and GRAPH under
TP4??  We do need some graphics (UNIT GRAPH would do it, something like
the Graphix Toolbox would be preferred). Is is true that QP1 runs under
OS/2, or is it just a bad joke??
Every hint will be helpful...
Thanks,
Chris
________________________________________________________________________________
       Christian Boettger                phone:  (+49) (0)531/391-5113
mail:  Institut fuer Metallphysik und Nukleare Festkoerperphysik,
       (room -167/-168), Technische Universitaet Braunschweig,
       Mendelssohnstrasse 3, D-3300 Braunschweig, Bundesrepublik Deutschland
                                                  FRG / RFA
________________________________________________________________________________
EARN:  I2010506@DBSTU1.BITNET         InterNet:   boettger@julian.uwo.CA
                                        UseNet:   boettger@julian.UUCP
UUCP / UseNet:
  (whereever)!uunet!watmath!julian!boettger
  (whereever)!uunet!boettger@hydra.uwo.CA
  (whereever)!uunet!mcvax!unido!i2010506@DBSTU1.BITNET
********************************************************************************

amull@Morgan.COM (Andrew P. Mullhaupt) (12/02/89)

Can anyone recommend a good Pascal compiler for SCO UNIX System V/386
release 3.2? I do not insist on only ISO standard Pascal; I would
be especially happy to have Turbo Pascal (>=5.0) but VMS-style
(ISO  Level 1) would be nice. A decent Modula-2 would be OK, and
I wouldn't turn my nose up at a reasonable ALGOL. 

Thanks in advance,
Andrew Mullhaupt