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


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

Re: Java vs C++

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Java vs C++
Date 2011-02-06 14:30 -0500
Organization albasani.net
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>

Show all headers | 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