This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/ 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]