.net - Does JIT convert the binary code of IL into binary machine code? -


This is in relation to .net.

  1. The code (high level: C #, Vb.net - can be understood as human) is compiled in VS and DLL / XE it is called IL (also more Or less human is sensible).

  2. For the first time on the machine, it changes the machine code from DLL / EXE, CLR / JIT IL (binary format: 0 and 1 - these are human sensible is not). This machine code is saved in memory, the next time conversion is not required, until the system is restarted.

  3. ILASM.exe is used in the dll / exe (IL code) machine code and ILDASM.exe is in contrast.

    If the compiler generates XE / DLL (IL) which is in binary format, then what is the purpose of JIT? Since the code is already in binary format ... Does this mean that the binary code of IIL has been converted into Junk Binary Machine Code?

    Please correct me on the statements given above.

    < P> and dll / exe is generated This is called IL (also more or less human sensible).

    You need to differentiate between IL's binary , and IL's text form - if you have a compiled EXE or DLL If you open the file, you will not see the text, so that is not human readable ... but a kind of literal representation "Object Oriented Assembly Language" is a binary representation "machine code for CLI" - but it does not have original machine code running on your computer Land.

    This machine code is saved in memory the next time the conversion is not needed.

    No, as far as I do not know - it only preserves process , in most cases, in most cases. So if you start another process, the code will be JIT again.

    ILASM.exe can be used to convert DLL / EXE (IL code) into machine code and ILDASM.exe is the other opposite. Is it also saved in memory? What is the file format?

    No, it is not true ILASM source takes IL (text) and collects it in binary il ... This machine does not convert to the code reverse iLDAM - it can convert a DLL or XE into text IL, which can be read.

    When tools like IALSM are used?

    I sometimes use ILDASM for a special compiled binary for IL (though I usually use reflector). I use ILASM rarely - after using ILSM for ILSM to get IL, I have touched it in some interesting way. You can see your project for an example of this, Where I tweak IL to represent generic barriers, which can not be displayed in C #.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -