comp.lang.ada
 help / color / mirror / Atom feed
* An interesting quote on Java and C++
@ 1997-09-03  0:00 Nasser
  1997-09-03  0:00 ` Samuel Mize
       [not found] ` <01bcb881$915526a0$d7000064@sim01.amst.co.at>
  0 siblings, 2 replies; 34+ messages in thread
From: Nasser @ 1997-09-03  0:00 UTC (permalink / raw)



I thought the Ada folks would be like to read these words, from this
white paper:

http://www.sun.com/sparc/whitepapers/wp96-043.html

"Java was designed as closely to C++ as possible in order to make the
system more understandable"

No, what do the Ada people got to say about that? You can NOT
argue with white papers !

:)

Nasser




^ permalink raw reply	[flat|nested] 34+ messages in thread
* Re: An interesting quote on Java and C++
@ 1997-09-25  0:00 Marin David Condic, 561.796.8997, M/S 731-96
  1997-09-25  0:00 ` Shmuel (Seymour J.) Metz
  0 siblings, 1 reply; 34+ messages in thread
From: Marin David Condic, 561.796.8997, M/S 731-96 @ 1997-09-25  0:00 UTC (permalink / raw)



Robert A Duff <bobduff@WORLD.STD.COM> writes:
>Note that modular types are not just about modular arithmetic -- they
>also support bit-wise logical operations.  On a one's complement
>machine, you still want to be able to have all-ones as a bit pattern, if
>you're using these things as bit patterns, even though it's
>arithmetically equal to zero.
>
    This gets me curious about the possibility that we may be spending
    lots of time in the Ada standard dealing with things that are
    non-issues. I ask out of ignorance: Are there any reasonably
    popular microprocessors that are *not* twos-compliment machines? I
    don't think I've ever had occasion to work with a ones-compliment
    microprocessor. If there are some ones-compliment machines out
    there in large numbers, has anyone ever built an Ada compiler for
    them? Would there be any real interest in doing so or are they too
    specialized to expect Ada to suddenly become popular on them?

    It's a little like agonizing over making it convenient to port Ada
    to a DEC-10 processor with a 36bit word. That architecture has
    long since been relegated to history (and I occasionaly miss it!)
    and just about everything in significant use today uses a 16bit,
    32bit or maybe 64bit word. So we can write an Ada standard that
    conveniently maps the standard Integer types to these limits and
    not worry if there's some obscure machine that won't find this
    handy.

    MDC

Marin David Condic, Senior Computer Engineer     ATT:        561.796.8997
Pratt & Whitney GESP, M/S 731-96, P.O.B. 109600  Fax:        561.796.4669
West Palm Beach, FL, 33410-9600                  Internet:   CONDICMA@PWFL.COM
===============================================================================
    "Cross country skiing is great if you live in a small country."

        --  Steven Wright
===============================================================================




^ permalink raw reply	[flat|nested] 34+ messages in thread
* Re: An interesting quote on Java and C++
@ 1997-10-08  0:00 Marin David Condic, 561.796.8997, M/S 731-96
  1997-10-09  0:00 ` Shmuel (Seymour J.) Metz
  0 siblings, 1 reply; 34+ messages in thread
From: Marin David Condic, 561.796.8997, M/S 731-96 @ 1997-10-08  0:00 UTC (permalink / raw)



"Robert I. Eachus" <eachus@SPECTRE.MITRE.ORG> writes:
>In article <342AD83E.2C92@gsg.eds.com> "Shmuel (Seymour J.) Metz"
><nospam@gsg.eds.com> writes:
>
>   AFAIK the only processors around that are not two's complement are...
>
>   Ever use floating point?  On most hardware today, floating point
>uses a (biased)two's-complement exponent and a sign and magnitude
>mantissa.  So if you use the floating point engine to do integer
>arithmetic you get similar semantics to one's complement.  (Signed
>zeros and range symmetric around zero.)
>
    That's a good point. One of those things you're maybe aware of,
    but never made the connection...

    I had originally posted a question on the subject of one's
    compliment (rather as an aside) because I was wondering why Ada
    would feel the need to support potentially obscure hardware at the
    possible expense of implementation complexity. One of the examples
    was defining standard integers such that they could be supported
    on a one's compliment machine.

    Granted, this isn't a big deal in terms of implementation
    complexity. There may be better examples. But it seems there's a
    real dearth of one's compliment architectures out there for which
    anyone has a serious interest in porting Ada. Is there any
    technical advantage to one's compliment? AFAIK, there's no
    significant math advantage and possibly only some small hardware
    advantage. Apparently nothing big enough to warrant that becoming
    the dominant technology.

    MDC

Marin David Condic, Senior Computer Engineer     Voice:     561.796.8997
Pratt & Whitney GESP, M/S 731-96, P.O.B. 109600  Fax:       561.796.4669
West Palm Beach, FL, 33410-9600                  Internet:  CONDICMA@PWFL.COM
===============================================================================
    "Eagles may soar, but a weasle never gets sucked up into a jet engine."
===============================================================================




^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~1997-11-19  0:00 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-03  0:00 An interesting quote on Java and C++ Nasser
1997-09-03  0:00 ` Samuel Mize
     [not found] ` <01bcb881$915526a0$d7000064@sim01.amst.co.at>
1997-09-03  0:00   ` Robert Munck
1997-09-05  0:00     ` Joachim Schroeer
1997-09-06  0:00     ` Robert Dewar
1997-09-24  0:00     ` Shmuel (Seymour J.) Metz
1997-09-08  0:00   ` Robert A Duff
1997-09-09  0:00     ` Robert Munck
1997-09-10  0:00       ` Robert A Duff
1997-09-10  0:00         ` Robert Munck
1997-09-11  0:00           ` Robert Dewar
1997-09-12  0:00             ` Robert A Duff
1997-09-18  0:00               ` Shmuel (Seymour J.) Metz
1997-09-19  0:00                 ` Robert A Duff
1997-09-20  0:00                   ` Robert Dewar
1997-09-20  0:00                 ` Robert Dewar
1997-09-22  0:00                   ` Robert A Duff
1997-09-20  0:00                 ` Robert Dewar
1997-10-03  0:00                   ` Robert I. Eachus
1997-09-12  0:00             ` Jon S Anthony
1997-09-10  0:00         ` Stephen Leake
1997-09-11  0:00           ` Roy Grimm
1997-09-12  0:00             ` Robert A Duff
1997-09-12  0:00         ` Jon S Anthony
1997-09-11  0:00       ` Robert Dewar
1997-09-12  0:00         ` Jon S Anthony
1997-09-12  0:00           ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
1997-09-25  0:00 Marin David Condic, 561.796.8997, M/S 731-96
1997-09-25  0:00 ` Shmuel (Seymour J.) Metz
1997-09-26  0:00   ` Tucker Taft
1997-10-07  0:00   ` Robert I. Eachus
1997-11-19  0:00     ` Shmuel (Seymour J.) Metz
1997-10-08  0:00 Marin David Condic, 561.796.8997, M/S 731-96
1997-10-09  0:00 ` Shmuel (Seymour J.) Metz

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