TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Wed, 11 Nov 1998 02:36:15 -0800
Reply-To: Nasser Abbasi <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: programming'R'us
From: Nasser Abbasi <[log in to unmask]>
Parts/Attachments: text/plain (24 lines)
Geoff Bull wrote:

> Of course, with Ada, we don't have to "assume" anything,
> and we don't have to write programs that "usually" work.
> And writing truly portable code is generally not that hard.

yes, offcourse Ada is much more portable than C/C++. but still in Ada,
doesn't the size of an 'integer' for example depend on the platform on
is on?

Java is even more portable than Ada, becuase in Java, all primitive data
types have the same size on any platform. offcourse this is easy to do
since the platform is the same on every OS, which is the JVM :)

but it is nice to know that an int is 32 bits, no matter where one is
running the program, and that a long is 64 bits no matter where, etc..

offcourse in Java one can;t make subtypes on primitive datatypes like in
Ada, which I really like in Ada.