Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

As you know C# and JAVA both are virtual machine based languages, Java’s virtual machine name is Java Virtual Machine (JVM) and C#.NET names it as Common Language Runtime (CLR).

Compare both virtual machines to check which one is better than other, write at least two valid reasons in either case to support your answer.

Views: 504

Replies to This Discussion

A virtual machine (VM) is a virtual emulation of a computer operating system. Beyond that, though, there are two different implementations of this kind of system abstraction.

System virtual machines exist as fully-functional operating systems and are typically created as a substitute for using a physical machine.

The Common Language Runtime (CLR) and Java Virtual Machine (JVM) are both process virtual machines.

Top similarities between the CLR and JVM include:

  • Both Virtual Machines (VMs)
  • Both include garbage collection
  • Both employ stack-based operations
  • Both include runtime-level security
  • Both have methods for exception handling

Top differences between the CLR and JVM include:

  • CLR was designed to be language-neutral, JVM was designed to be Java-specific
  • CLR was originally only Windows-compatible, JVM works with all major OSs
  • CLR uses a JIT compiler, JVM uses a specialized JIT compiler called Java HotSpot
  • CLR includes instructions for closures, coroutines and declaration/manipulation of pointers, the JVM does not
  • JVM is compatible with more robust error resolution and production monitoring tools


The CLR and JVM are both virtual machines and they both perform platform-independent operations, namely, executing compiled source code. Essentially, these virtual machines both act as an intermediary step between the programmer’s source code and the system’s machine code, allowing for greater usability by various types of processors. In the image below, you can see how the high-level functions of the two are practically identical.

Koi GDB share krod

Please Discuss here about this GDB.Thanks

Our main purpose here discussion not just Solution

Students having same subject can start discussion here to solve assignment, GDB & Quiz and can clear their concepts until solution is provided. 


P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

Then copy Questions from assignment file and paste in Discussion. (For Assignments, GDBs & Online Quizzes Solution) (For Past Papers, Solved MCQs, Short Notes & More)

Click Here to Search (Looking For something at

Click Here to Join (Our facebook study Group)


© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service