Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25662

Re: Java vs C++

Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.mixmin.net!news.albasani.net!not-for-mail
From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Java vs C++
Date Sun, 06 Feb 2011 14:30:49 -0500
Organization albasani.net
Lines 34
Message-ID <iimst3$1ak$1@news.albasani.net> (permalink)
References <iijbfr$pb2$1@lust.ihug.co.nz> <iijrj2$i0g$1@news.eternal-september.org> <iil6on$qvo$1@lust.ihug.co.nz> <4d4eafea$0$23760$14726298@news.sunsite.dk> <b5GdnQ-xIKYHc9PQnZ2dnUVZ_vCdnZ2d@earthlink.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.albasani.net 3KqGHC8AYE+I7ZHME+lUEbkU2sZ9xSbX7GqHnnP2o9Bsl52NS3r+9/J/06yKaEVqtAQqWRdR3tH/IsRoSK/4kQ==
NNTP-Posting-Date Sun, 6 Feb 2011 19:30:44 +0000 (UTC)
In-Reply-To <b5GdnQ-xIKYHc9PQnZ2dnUVZ_vCdnZ2d@earthlink.com>
Cancel-Lock sha1:vlsCp/OJ30RSNYpvzPg7QXjmAT4=
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
Injection-Info news.albasani.net; logging-data="JYHyZ0AS2I+c3Q9lQGzhE3QLGCihN2KR+A8b1XzmTI7e1VFNYG5ZzkNxHS5ukWb/ZLGWV+EV52LoQW+o0qJSbQxaOJIUkcZqyzsXgL9lXiJlDmu1PuieCUXAF0uP8rnb"; mail-complaints-to="abuse@albasani.net"
Xref csiph.com comp.lang.java.programmer:25662

Show key headers only | View raw


Patricia Shanahan wrote:
> The big way in which Java is tied to 32 bit architectures is not in the
> simple data types. It is the maximum size of an array, String, Set, List
> etc.

I wouldn't say "tied to a 32-bit architecture" but "subject to a 32-bit 
limitation".  The limitation for Java is the same on any architecture.  But I 
take your meaning.

It is possible with current Java implementations to write a collection like 
List that is not subject to the 32-bit limit, so arguably the fault for the 
java.util.List limit lies not with Java itself but the API.

It would require a language change to implement an array with 
larger-than-32-bit addressing, but the use case for that is narrow enough that 
an API construct should serve, obviating the need for a language change.

At least for a while.  I imagine that once we are unphased by exbibyte RAM 
structures we can change the language.

Assuming the world hasn't all switched over to C++ by then.

-- 
Lew
Ceci n'est pas une fenêtre.
.___________.
|###] | [###|
|##/  | *\##|
|#/ * |   \#|
|#----|----#|
||    |  * ||
|o *  |    o|
|_____|_____|
|===========|

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-06 00:15 +1300
  Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 14:55 +1300
    Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 21:15 -0500
      Re: Intel architecture (Was: Java vs C++) Esmond Pitt <esmond.pitt@bigpond.com> - 2011-02-09 15:48 +1100
        Re: Intel architecture (Was: Java vs C++) Lew <noone@lewscanon.com> - 2011-02-09 00:15 -0500
      Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 22:13 -0500
        Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-11 13:11 +1300
      Re: Java vs C++ Tim Slattery <Slattery_T@bls.gov> - 2011-02-08 09:00 -0500
      Re: Java vs C++ Esmond Pitt <esmond.pitt@bigpond.com> - 2011-02-08 14:13 +1100
        Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-08 20:31 +1300
        Re: [OT] Intel architecture (Was: Java vs C++) Esmond Pitt <esmond.pitt@bigpond.com> - 2011-02-08 16:53 +1100
      Re: Java vs C++ Silvio <silvio@moc.com> - 2011-02-07 18:58 +0100
        Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 19:59 -0500
        Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-08 15:59 +1300
  Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-08 16:00 +1300
    Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 22:07 -0500
  Re: Java vs C++ Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-06 21:22 -0500
  Re: Java vs C++ Lew <noone@lewscanon.com> - 2011-02-05 09:26 -0500
  Re: Java vs C++ Lew <noone@lewscanon.com> - 2011-02-06 14:30 -0500
  Re: Java vs C++ Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-06 20:42 -0500
    Re: Java vs C++ "Mike Schilling" <mscottschilling@hotmail.com> - 2011-02-07 21:03 -0800
    Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 14:51 +1300
  Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 12:54 +1300
    Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 21:08 -0500
      Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 15:10 +1300
    Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 19:57 -0500
      Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 14:51 +1300
  Re: Java vs C++ Lew <noone@lewscanon.com> - 2011-02-05 09:24 -0500
  Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 09:28 -0500
    Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 15:20 -0500
    Re: Java vs C++ Patricia Shanahan <pats@acm.org> - 2011-02-06 10:55 -0800
  Re: Java vs C++ Pitch <mail@fake.info> - 2011-02-05 13:01 +0100
    Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-06 01:24 +1300
  Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-05 09:38 -0500
  Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-05 09:32 -0500
  Re: Java vs C++ Jef <e70838@gmail.com> - 2011-02-09 04:34 -0800
  Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 21:12 -0500
  Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 14:53 +1300
  Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 09:30 -0500
  Re: Java vs C++ Silvio <silvio@moc.com> - 2011-02-05 15:02 +0100
  Re: Java vs C++ Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-05 10:49 -0500

csiph-web