comp.lang.ada
 help / color / mirror / Atom feed
From: Marco van de Voort <marcov@stack.nl>
Subject: Re: From extended Pascals to Ada 95 guide
Date: 2000/08/28
Date: 2000-08-28T00:00:00+00:00	[thread overview]
Message-ID: <39AAC6DB.CC9BCB66@stack.nl> (raw)
In-Reply-To: 39AA7F69.E195BA42@maths.unine.ch


About the Matrix type:

The subtype system, to me, looks like a cross between and attempt to
implement multidimensional openarrays, and GPC pascal's schemata types.

If I were you, I wouldn't be too sad that it doesn't 

> Marco:
 
> > I do. But to program apps, not to create academical perfect programs.
> > I also think portability issues are often severely overrated.
> 
> It depends on your needs.

Definitely. But portability demands always need extra time. Except if
you allow the applications limits  to be set by the portability
requirements.

> When you have to maintain a large commercial
> program that must run on NT for some customers, on Linux for others
> it's perfectly feasible in Ada (real case). 

That is the same processor, and NT is POSIX compliant. If you use some
IBCS format, you might even be able to use the same binary :-) (in
theory of course).

Well, I can only put the FPC compiler itself. 100000 lines, and
increasing daily. FreeBSD will be the fifth i386 OS.

> Try just to manage accurately
> file I/O in a portable way in Pascal, even details like 'what happens when
> such file is not there ?'. Not to make the hot-line explode...

First:
What does ADA in such case? The program always has to react to what
happens and doesn't happen in such cases. An non existant file (that
should exist) always triggers some special treatment. That treatment can
be as simple as halt-program, or reinitialise, but it is a condition set
by the programmer, not by the language.

Second: What pascal does in this case depends on the runtime library I
use, not on pascal. This is a critical difference, since in free
compilers with access to the compiler source, you can finally
remove/replace nearly
all the RTL. TS M2 was pretty much the Borland under the Modula2
compilers. (and even related to BP IIRC)

> Another important thing: you should have the choice between compilers, even
> when your program already has more than 100'000 lines. E.g. switch from
> a compiler firm A (which suddenly closed down, stopped development,
> begins to procude a unusable bloatware, has too expensive support or
> doesn't provide optimization or a Linux version) to firm B or C.

That happened to me. Not with a large codebase, but with a bunch of
small utils, non of which rocketscience, that kept a few BBSes running.
At a certain point people started using longfilenames, and I was stuck
with the TopSpeed RTL.

That's why I moved to a free compiler, and for private, or even medium
use, I'll never consider a commercial compiler again.

Not only because in problem cases you can fix problems yourself, but
compilerprojects are relatively large projects, and probably will last
for a decade in some form. (iow several generations of developpers)
 
> > >Ada is kind of like
> > >"Pascal++" in that the syntax is very much like Pascal's, but it cures
> > >certain ills that existed there and then added a *lot* more stuff to
> > >make the language much more powerful.
> 
> > Over standard pascal, or over Delphi?
> 
> Anyway, a lot over BP7. 

Yeah, but I dumped BP7 in 1993 for TopSpeed :-) (Modula-2)

I don't know much about ADA. I liked TopSpeed M2, but didn't like
ISO-M2, M3 or Oberon. 
 
> I would be glad to incorporate some details about Delphi in my comparison...

I think we should call it Object Pascal :-) Delphi is more the entire
project (including IDE, libraries etc)

Check the manuals or specs:
- Inprise (Borland) is quite generous with the helpfiles, and they are
downloadable from ftp.inprise.com/pub/delphi/techpubs (or something like
that)
- JEDI, the Delphi open source project, has a documentation project (and
tool), it is called Dolphin, and contains some nice texts.
- For the FPC implementation: download the reference manual from
	the FPC site (www.freepascal.org)

-- 

Marco van de Voort (Marcov@stack.nl or marco@freepascal.org)






  reply	other threads:[~2000-08-28  0:00 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-24  0:00 From extended Pascals to Ada 95 guide gdemont
2000-08-24  0:00 ` James Smith
2000-08-24  0:00   ` ODRe: " Richard Riehle
2000-08-29  0:00     ` James Smith
2000-08-30  0:00       ` Marco van de Voort
2000-08-25  0:00   ` Robert Deininger
2000-08-25  0:00   ` Gautier
2000-08-25  0:00     ` Marco van de Voort
2000-08-25  0:00       ` Gautier
2000-08-25  0:00         ` Marco van de Voort
2000-08-25  0:00           ` Charles Hixson
2000-08-26  0:00             ` steve
2000-08-26  0:00               ` Marco van de Voort
2000-08-27  0:00               ` David Botton
2000-08-28  6:41                 ` Ole-Hjalmar Kristensen
2000-08-28  0:00                   ` David Botton
2000-08-28  0:00             ` Marco van de Voort
2000-08-28  0:00               ` Gautier
2000-08-28  0:00                 ` Marco van de Voort
2000-08-28  0:00                   ` Marin D. Condic
2000-08-28  0:00                     ` Marco van de Voort
2000-08-28  0:00                       ` Larry Elmore
2000-08-28  0:00                       ` Gautier
2000-08-28  0:00                         ` Marco van de Voort [this message]
2000-08-28  0:00                   ` Gautier
2000-08-28  0:00                     ` Charles Hixson
2000-08-28  0:00           ` Richard Riehle
2000-08-29  6:53             ` Marco van de Voort
2000-08-25  0:00     ` Preben Randhol
2000-08-25  0:00       ` Pat Rogers
2000-08-25  0:00         ` Marin D. Condic
2000-08-25  0:00           ` Larry Elmore
2000-08-26  0:00             ` Dimmy Timchenko
2000-08-26  0:00             ` Marin D. Condic
2000-08-27  0:00               ` David Botton
2000-08-27  0:00                 ` Marin D. Condic
2000-08-27  0:00                   ` tmoran
     [not found]                     ` <017801c0105d$06e88ac0$cf18b70a@db2000>
2000-08-27  0:00                       ` tmoran
2000-08-28  0:00                         ` Marin D. Condic
2000-08-28  0:00                       ` Larry Kilgallen
2000-08-28  0:00                     ` Marin D. Condic
2000-08-29  0:00                       ` Gautier
2000-08-27  0:00                   ` David Botton
2000-08-28  0:00                     ` Marin D. Condic
2000-09-06  0:18                   ` John English
2000-08-28  0:00               ` Ray Blaak
2000-08-25  0:00           ` Pat Rogers
2000-08-26  0:00             ` Marin D. Condic
2000-08-26  0:00           ` Robert C. Leif, Ph.D.
2000-08-26  0:00     ` Robert C. Leif, Ph.D.
2000-08-25  0:00   ` Tarjei T. Jensen
2000-08-27  0:00   ` Ronald Cole
2000-08-27  0:00     ` Richard Kenner
2000-08-28  0:00       ` Ronald Cole
2000-08-27  0:00     ` David Starner
2000-08-27  0:00       ` Al Christians
2000-08-28  0:00         ` nabbasi
2000-08-29  0:00           ` Brian Rogoff
2000-08-29  0:00           ` Larry Kilgallen
2000-08-29  0:00             ` Marco van de Voort
2000-08-29  0:00               ` Gautier
2000-08-29  0:00                 ` Marco van de Voort
2000-08-29  0:00               ` Jonas Maebe
2000-09-06  0:38               ` John English
2000-09-08 18:41                 ` Stefan Skoglund
2000-09-08 19:24                   ` Marco van de Voort
2000-09-09 17:50                     ` Stefan Skoglund
2000-09-10 16:40                       ` Marco van de Voort
2000-09-11  0:59                         ` Ken Garlington
2000-09-11 13:01                   ` John English
2000-09-11 14:45                     ` Ehud Lamm
2000-09-11 19:32                       ` Marco van de Voort
2000-09-27 23:03                       ` John English
2000-08-29  0:00           ` David Starner
2000-08-29  0:00             ` Charles Hixson
2000-08-30  0:00               ` Gary Scott
2000-08-30  0:00                 ` Charles Hixson
2000-08-30  0:00                   ` Gary Scott
2000-08-29  0:00           ` Ehud Lamm
2000-09-06  0:26           ` John English
2000-09-06 16:08             ` Charles Hixson
2000-08-28  0:00         ` Marco van de Voort
2000-08-28  0:00           ` Al Christians
2000-08-28  0:00             ` Ray Blaak
2000-08-28  0:00           ` Gautier
2000-08-28  0:00             ` Marco van de Voort
2000-08-28  0:00       ` Marco van de Voort
     [not found] <01a101c0106f$745c3c70$cf18b70a@db2000>
2000-08-28  0:48 ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox