X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109 Path: csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.java.programmer Subject: Re: Java vs C++ Followup-To: comp.lang.java.programmer Date: Fri, 11 Feb 2011 13:11:27 +1300 Organization: Geek Central Lines: 20 Message-ID: References: <4d4e7634$0$81475$e4fe514c@news.xs4all.nl> <4d4f55ba$0$23758$14726298@news.sunsite.dk> <4d5032a8$0$41114$e4fe514c@news.xs4all.nl> <4d50b4e8$0$23754$14726298@news.sunsite.dk> NNTP-Posting-Host: 118-92-93-33.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 1297383087 8215 118.92.93.33 (11 Feb 2011 00:11:27 GMT) X-Complaints-To: abuse@ihug.co.nz NNTP-Posting-Date: Fri, 11 Feb 2011 00:11:27 +0000 (UTC) User-Agent: KNode/4.4.7 Xref: csiph.com comp.lang.java.programmer:26013 In message <4d50b4e8$0$23754$14726298@news.sunsite.dk>, Arne Vajhøj wrote: > On 07-02-2011 21:59, Lawrence D'Oliveiro wrote: > >> In message<4d5032a8$0$41114$e4fe514c@news.xs4all.nl>, Silvio wrote: >> >>> For certain APIs (MS Windows conatins lots of them) struct layout >>> assumpations are essential. >> >> POSIX manages such things in a portable way. > > No. > > POSIX does the same thing as Windows. POSIX is designed for portability in a way that Windows is not. Where Win32 uses explicitly-sized types of 32 bits or 16 bits or whatever, POSIX uses symbolic names that can be handled differently by different implementations. Consider why there was even a need for a Win64, when there is no “POSIX64”.