posted on Friday, January 30, 2004 10:23 AM by demiliani

Java Architecture vs. .NET

In an interesting article on InformIT, Java architecture is compared to .NET architecture, and J# is accurately analized. The differences from these 2 architects can be resumed as follow: 

.NET Architecture

Java Architecture

Designed to support multiple different programming languages. Currently, 30 languages support the .NET architecture.

Though other languages' code can be converted to run under JVM, they don't acquire true cross-language capabilities.

Compiles the source code to Intermediate Language (IL), which is itself a language.

Compiles the source code to Java bytecode, which by itself is not a language.

CLR implements a contiguous memory allocation algorithm.

JVM implements a noncontiguous memory allocation algorithm.

Compiles the source code twice during the process of converting to native code. Compiling works faster than interpreting.

Compiles and interprets the source code once during the process of converting it to native code.

Interesting!

Comments