Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 977331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:53:08+00:00 2026-05-16T03:53:08+00:00

Dotnet CLR converts the language code to MSIL. While Java Code be converted to

  • 0

Dotnet CLR converts the language code to MSIL. While Java Code be converted to Native Code that is platform independent. Can we convert this MSIL to Native Code ? So the Dotnet will automatically become platform independent.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T03:53:09+00:00Added an answer on May 16, 2026 at 3:53 am

    Be careful about your terminology here:

    • The CLR doesn’t convert “language code” to MSIL – it converts MSIL to native code on the fly.
    • Java code isn’t converted to “native code that is platform independent”; that’s an oxymoron. Java source code is converted into platform independent Java bytecode. The JVM converts bytecode into native code in the same way as the CLR does with MSIL (well, to some extent)

    Note that both MSIL and bytecode can be interpreted; HotSpot will sometimes interpret, sometimes JIT compile, and often JIT compile multiple times. The .NET desktop CLR always JIT compiles a single time at the moment.

    It’s also worth understanding that bytecode is only platform independent to the extent that there is a JVM available for the platform you’re interested in. The same is true for MSIL. You can compile a C# program on Windows and then run it on Linux under Mono if there’s a build of Mono for your platform and if it doesn’t use any libraries which aren’t available on Mono.

    Now as for converting MSIL to Java bytecode… the reverse is more feasible, as MSIL is generally more powerful than Java bytecode. For example, custom value types and generics in MSIL wouldn’t translate easily into bytecode. You’d probably need something closer to a CLR written in Java. I dare say there are some clever possibilities, but there are fundamental difficulties there. Even the reverse is unlikely to be easy – especially if Java 7 introduces dynamic invocation to bytecode (whereas dynamic typing in .NET is performed by the DLR just as a library).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using dotnet 2.0. Can the following code be improved in style ? private object
I am consuming a dotnet webservice on android code using ksoap2.I can successfully call
We have a dotnet web service that a java using customer wants to connect
In dotNET we could write unmanaged code, where can I allocate memory dynamically (by
I am using Dotnet Highchart that is based on C# code that has output
Using dotnet 2.0. I currently have code like this : DataView dv = new
My application (DotNET) runs as a plug-in inside a C++ standalone app that exposes
Can we install dotnet framework 3.5 on windows 2000 sp4 or its not possible.
My DotNET application has a limited scripting language build in (modelled loosely on VBScript)
I have a dotnet process that through calls to an unmanaged dll is communicating

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.