Results 1 to 5 of 5

Thread: Compiling in .NET

  1. #1
    AIS_DK
    Guest

    Compiling in .NET

    A while ago, I heard that it would only be possible to compile into pseudo-code when using VB.NET.

    Since I havn't got a copy of VB.NET I havn't been able to see if this is true.

    So does any one here know whether or not it's true?

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    In .NET the code gets compiled into IL (intermediate language) which gets compiled at runtime by a JIT (Just In Time) compiler.
    This makes it possible to compile for the specific processor used.

  3. #3
    Hyperactive Member Paul Warren's Avatar
    Join Date
    Jun 2000
    Location
    UK
    Posts
    282
    Basically the JIT compiler compiles the code the first time it is called then sticks it in memory until it's no longer needed. The thing about IL is that all .net languages will compile into it so there's no longer a performance difference between langs like C#, C++ and VB. In fact the only differences between the languages is syntax, not capabilities or performance.
    That's Mr Mullet to you, you mulletless wonder.

  4. #4
    AIS_DK
    Guest
    Have you done any test on the speed of this new code?

    I know, that we are only talkning about the first Beta edition, and that Micro$oft properly will optimize in further, but still, how fast is it?

  5. #5
    Hyperactive Member Paul Warren's Avatar
    Join Date
    Jun 2000
    Location
    UK
    Posts
    282
    At the moment it is dog slow but MS are saying that it is completely unoptimised and that you can't release performance figures yet. The plan is that between Beta 2 and final release the only thing they will be doing is optimising. In fact they are saying that you should start developing with Beta 2.
    That's Mr Mullet to you, you mulletless wonder.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width