Results 1 to 5 of 5

Thread: Why .NET EXEs are slow??

  1. #1

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524

    Cool Why .NET EXEs are slow??

    Is there any difference between applications VB6 EXE and VB.NET EXE? Why does VB.NET EXEs run slower than VB6 EXEs? Is a .NET EXE true executable or it is just MSIL and interpreted during runtime?

    Any help?
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  2. #2
    Addicted Member Zealot's Avatar
    Join Date
    Jul 2002
    Location
    Lisboa, Portugal
    Posts
    206

    Re: Why .NET EXEs are slow??

    Originally posted by sbasak
    or it is just MSIL and interpreted during runtime?
    See how you know the answer already?
    There may be other reasons but that's the main one.

  3. #3

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524
    Well, I'm still confused. If .NET exe is an MSIL, is it similar to Java's bytecode? Usually EXE means compiled - so how can .NET exe be interpreted? I also heard that MSIL compiles the code into assembly first time the code runs. After that, .NET exe should be as fast as VB6 exe - is it true?
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  4. #4
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    lol vb.net code ISNT interpreted...its just compiled to MSIL language and when u click it will translate it into machine code thats why it takes long for the 1st time but after that it will be added to a special cache and after that everytime u click it it will be a lot faster
    \m/\m/

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Don't forget to change your solution configuration to "release" so that you get rid of symbolic debug information which results in full optimized EXE .

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