Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Ngen in .NET

Ngen in .NET

Scheduled Pinned Locked Moved The Lounge
csharpc++javaquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    'ngen.exe' precompiles the code and allows vendors to save them in native code. Why is Sun missing this with Java? seems to be a good idea to get rid of the JIT compilation. Any ideas? Is it particularly complex with Java? or is Sun just not bothered? - Thomas

    T S 2 Replies Last reply
    0
    • L Lost User

      'ngen.exe' precompiles the code and allows vendors to save them in native code. Why is Sun missing this with Java? seems to be a good idea to get rid of the JIT compilation. Any ideas? Is it particularly complex with Java? or is Sun just not bothered? - Thomas

      T Offline
      T Offline
      Tim Smith
      wrote on last edited by
      #2

      Because native code isn't part of the 'portable' experience. Tim Smith Descartes Systems Sciences, Inc.

      L 1 Reply Last reply
      0
      • T Tim Smith

        Because native code isn't part of the 'portable' experience. Tim Smith Descartes Systems Sciences, Inc.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        I was thinking of it just as a feature to be used just in case someone wanted to eliminate the JIT. Even if it does not improve performance much, it is a psychological advantage for .NET over Java. They are also promising that ngen.exe will do code optimizations in the future just like JIT does. It addresses both the markets - people who want portable code at the expense of some performance and the people who want it to run only on one OS, but at its best performance. I think, this demonstrates why Microsoft is so successful. Address the apprehensions of the developers and users. I actually did one post today about compiling Java to native code. Being a late starter on .NET, I descovered 'ngen.exe' and was surprised. Coming later into the market and not yet launched, Microsoft is already stealing the show. Sun should be careful or they will be the next 'Netscape'. -Thomas

        1 Reply Last reply
        0
        • L Lost User

          'ngen.exe' precompiles the code and allows vendors to save them in native code. Why is Sun missing this with Java? seems to be a good idea to get rid of the JIT compilation. Any ideas? Is it particularly complex with Java? or is Sun just not bothered? - Thomas

          S Offline
          S Offline
          Sam C
          wrote on last edited by
          #4

          I myself am doing intensive research on the .NET paradigm and would appreciate the link or article you saw concerning 'ngen.exe'. I have not heard of that tool before, but this may alleviate some of the concerns of us VC programmers who have always compiled and linked to native code. Sam C ---- Systems Manager Hospitality Marketing Associates

          S 1 Reply Last reply
          0
          • S Sam C

            I myself am doing intensive research on the .NET paradigm and would appreciate the link or article you saw concerning 'ngen.exe'. I have not heard of that tool before, but this may alleviate some of the concerns of us VC programmers who have always compiled and linked to native code. Sam C ---- Systems Manager Hospitality Marketing Associates

            S Offline
            S Offline
            Slavo Furman
            wrote on last edited by
            #5

            Hello! "ngen.exe" (Native Image Generator) is a new tool in .NET Framework SDK added with Beta2. Link to online docs is (please, watch for word wrap): http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfnativeimagegeneratorngenexe.asp hth, SlavoF "I hear and I forget. I see and I remember. I do and I understand." --Confucius

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups