Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Joshua Cranmer Newsgroups: comp.lang.java.programmer Subject: Re: =?UTF-8?B?QW5kcm9pZOKAlFdoeSBEYWx2aWs/?= Date: Wed, 01 Jun 2011 00:58:28 -0400 Organization: A noiseless patient Spider Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 1 Jun 2011 04:58:29 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="bAymlyY9SkaJNa8Tz2rerw"; logging-data="12366"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aeKy5j3zHgxHhuwbAOpjTt40WvgjhaBo=" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.16pre) Gecko/20110305 Lightning/1.0b3pre Thunderbird/3.1.10pre In-Reply-To: Cancel-Lock: sha1:ZNmjxXTlQXXzLGhswPKsHxycYR4= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4845 On 05/31/2011 11:05 PM, Lawrence D'Oliveiro wrote: > Using MSVC brings its own share of problems. I remember on the Python group, > if you wanted to build a C/C++ extension for Python, you had to compile it > with the exact same version of MSVC as was used for that version of Python, > otherwise it wouldn’t work. Funny. I thought C/C++ was supposed to be portable. With Java, it doesn't matter which compiler I use to link the binary, they all the do same thing. Even if I don't program my code in Java. ;-) Java has extreme ABI portability--any compiler, any OS, any arch. C is somewhat portable (between compilers on the same OS and arch), and C++ isn't very portable between compilers, particularly MSVC/gcc 3.x/gcc 4.x. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth