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


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

Re: Java vs C++

Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!aioe.org!feeder.news-service.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail
From Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand>
Newsgroups comp.lang.java.programmer
Subject Re: Java vs C++
Followup-To comp.lang.java.programmer
Date Tue, 08 Feb 2011 09:22:24 +1300
Organization Geek Central
Lines 20
Message-ID <iipka1$d4o$7@lust.ihug.co.nz> (permalink)
References <iijbfr$pb2$1@lust.ihug.co.nz> <2011020510425674637-angrybaldguy@gmailcom> <iil0or$niu$2@lust.ihug.co.nz> <4d4e25e8@news.x-privat.org> <iinah1$2up$1@lust.ihug.co.nz> <4d4f45fc$0$23760$14726298@news.sunsite.dk> <iio24q$g2f$1@lust.ihug.co.nz> <iiop28$8jj$1@news.eternal-september.org>
NNTP-Posting-Host 118-92-86-70.dsl.dyn.ihug.co.nz
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace lust.ihug.co.nz 1297110145 13464 118.92.86.70 (7 Feb 2011 20:22:25 GMT)
X-Complaints-To abuse@ihug.co.nz
NNTP-Posting-Date Mon, 7 Feb 2011 20:22:25 +0000 (UTC)
User-Agent KNode/4.4.7
Xref csiph.com comp.lang.java.programmer:25598

Followups directed to: comp.lang.java.programmer

Show key headers only | View raw


In message <iiop28$8jj$1@news.eternal-september.org>, Joshua Cranmer wrote:

> On 02/07/2011 01:06 AM, Lawrence D'Oliveiro wrote:
>
>> In message<4d4f45fc$0$23760$14726298@news.sunsite.dk>, Arne Vajhøj wrote:
>>> And the C spec leaves a lot of things to implementations.
>>
>> Not too much that you can’t write portable code in it.
> 
> Writing portable code in C pretty much requires you to do hefty
> compatibility layers.

Not really. Sticking to standard POSIX types like size_t, time_t etc gets 
you a lot of the way there.

> Many projects use typedefs to get proper-sized int variables (you can't
> use stdint.h, as MSVC doesn't implement it, as of MSVC 9.0).

How sad for MSVC...

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


Thread

Re: Java vs C++ Owen Jacobson <angrybaldguy@gmail.com> - 2011-02-05 10:42 -0500
  Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-08 09:22 +1300
    Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 19:57 -0500
      Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-08 16:06 +1300
  Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 19:56 -0500
    Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-08 16:06 +1300
      Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-07 22:17 -0500
  Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 12:23 +1300
    Re: Java vs C++ Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-02-07 07:37 -0500
    Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 20:08 -0500
  Re: Java vs C++ Helium Balloon <hb.3459s._jsf3k@goo.abvg> - 2011-02-06 19:55 -0500
  Re: Java vs C++ Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-07 13:29 +1300
    Re: Java vs C++ Arne Vajhøj <arne@vajhoej.dk> - 2011-02-06 20:47 -0500
  Re: Java vs C++ Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-02-06 09:34 -0400

csiph-web