This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Platform...? Java Bytecode!!!!
- From: Per Bothner <bothner at bothner dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 22 Apr 2002 11:32:35 -0700
- Subject: Re: Platform...? Java Bytecode!!!!
Per Bothner <per@bothner.com> wrote:
> This has all been discussed and considered many times. The JVM is
> not a good match for C or C++, because C has a low-level type-unsafe
> memory model.
Florian Weimer wrote:
> Not quite correct. Many C programmers assume that this is the case
> (and their code tends to break when chaging platforms or compilers),
> and most implementations behave this way, but this isn't really
> required by the language definition. ;-)
Er - look up "strawman argument". I said "the JVM is not a good match
for C", and you're responding as if I said you cannot implement C on the
JVM. In the part you did not quote I said "You can of course simulate
the C/C++ memory model, but there are a number of trade-offs."
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/