David Brown wrote:
On Wed, Jan 02, 2008 at 08:06:21PM -0800, Christopher Smith wrote:

Not handy. Miguel said that CLR's support for struct's and generic types
(and a more sophisticated type system in general) provides it with some
performance advantages, but if you stick to using capabilities that both
can use, the JDK JVM was more aggressive in its optimizations.

That sounds more like an implementation/maturity issue.  More effort put
into CLR runtimes could make them better.

Indeed, the CIL has a number of features that are designed to increase the performance over the JVM. For example, at any given point in the bytecode execution, the CIL requires there to be the same number and types of items on the data stack (if I recall correctly), which apparently makes it easier to generate better JIT code by allowing some of those locations to be assigned to registers, for example.

--
  Darren New / San Diego, CA, USA (PST)
    It's not feature creep if you put it
    at the end and adjust the release date.

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to