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. General Programming
  3. .NET (Core and Framework)
  4. NET performance

NET performance

Scheduled Pinned Locked Moved .NET (Core and Framework)
performancecsharpquestion
3 Posts 2 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.
  • K Offline
    K Offline
    KEL3
    wrote on last edited by
    #1

    I would like to know what happens when you write unmanaged code in NET. The compiler generates Intermediate Language code, but just this code isn't "supervised" by the framework? Also, I would like to know what happens when you write assembly code in a .NET project. I noticed that the __asm keyword is "syntax-hilighted". Can machine code and Intermediate Language code exist in the same .exe file ??? I am asking all these because, despite the fact that I like the new capabilities the NET framework provides, I am seriously concerned about the speed of my apps. Thanks.

    kostas KEL

    K 1 Reply Last reply
    0
    • K KEL3

      I would like to know what happens when you write unmanaged code in NET. The compiler generates Intermediate Language code, but just this code isn't "supervised" by the framework? Also, I would like to know what happens when you write assembly code in a .NET project. I noticed that the __asm keyword is "syntax-hilighted". Can machine code and Intermediate Language code exist in the same .exe file ??? I am asking all these because, despite the fact that I like the new capabilities the NET framework provides, I am seriously concerned about the speed of my apps. Thanks.

      kostas KEL

      K Offline
      K Offline
      KEL3
      wrote on last edited by
      #2

      Hey! What's wrong? Am I saying stupid things? (I am REALLY a newbie to NET) You do not know the answer? Need some light over here ... !!!:(( ====================================== And I would also be happy to know what happens with security matters when using .NET. As I can see, you can easily read the IL code and probably later-on a IL to C++.NET converter will be created (by a delighted mind -the same happened with Java). What about people who don't like their code being copied and stolen???:sigh: Is it possible for NET programs to be easier "broken" that the traditional machine language exes ???:sigh: Is it possible to use NET code written in an other language (than the one your project uses) without making it a dll first(lets say having different language code-files in your project). Since all are converted to IL I can't see any reason that this can't happen. Any help on the above would be TRULLY appreciated. When every possible debugging technique fails, pray to GOD and then continue work. Ask for too much and you will get nothing. Ask only for few and you will get it all. Weird world, isn't it?

      kostas KEL

      T 1 Reply Last reply
      0
      • K KEL3

        Hey! What's wrong? Am I saying stupid things? (I am REALLY a newbie to NET) You do not know the answer? Need some light over here ... !!!:(( ====================================== And I would also be happy to know what happens with security matters when using .NET. As I can see, you can easily read the IL code and probably later-on a IL to C++.NET converter will be created (by a delighted mind -the same happened with Java). What about people who don't like their code being copied and stolen???:sigh: Is it possible for NET programs to be easier "broken" that the traditional machine language exes ???:sigh: Is it possible to use NET code written in an other language (than the one your project uses) without making it a dll first(lets say having different language code-files in your project). Since all are converted to IL I can't see any reason that this can't happen. Any help on the above would be TRULLY appreciated. When every possible debugging technique fails, pray to GOD and then continue work. Ask for too much and you will get nothing. Ask only for few and you will get it all. Weird world, isn't it?

        kostas KEL

        T Offline
        T Offline
        Thomas Stockwell
        wrote on last edited by
        #3
        1. All .NET code is converted to CLR compliant Intermiediate language code. This code is readable if you open .NET exe files in some of the native .NET debugging/.NET servicing applications. Most programmers who want to keep their code fairly safe use Obfuscators (hopefully that is spelled correctly). These applications make it harder for hackers to get the source code for the program. 2) It depends on your perspective with regards to program security with .NET compilations over native compilation. 3)One project can only have one language type files in the project. VC# applications can only have .cs files in the project, you will not be able to put VB or VJ# codefiles in the C# application. You can however have multiple assemblies or projects in the same solution that are of different languages. All compiled .NET assemblies can be used as references to VS projects of any .NET language.

        Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

        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