answersLogoWhite

0

.NET (dot-net) is merely a software framework. In some ways it is quite similar to the Java Virtual Machine (JVM), as it provides a huge library of classes and an application virtual machine known as the common language runtime (CLR). However, while the JVM only allows programs to be written in Java, the CLR permits programs in any .NET-supported language, including VB, C# and F#. C++ programs can also be specifically written to support the .NET Framework using managed code, however mixed-mode and native modes are also permitted. The CLR supports legacy code interoperability using the component object model (COM).

C++ is a high-level, general purpose programming language, which includes low-level features such as pointer variables and function pointers, and can incorporate low-level assembler routines for maximum performance. Since Java and .NET programs run in a virtual machine, they cannot hope to compete with C++ for raw performance, but because they utilise much simpler object models, they are ideal for rapid application development.

Of the three, Java is the most portable as it will run on any JVM-enabled platform without any code modification. C++ can be written to support any platform, but must be compiled separately for each. .NET applications are the least portable as they can only be run on Windows platforms, and only if the required version of the framework is installed.

User Avatar

Wiki User

13y ago

What else can I help you with?