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. C#
  4. Suggestion for C# compatible language

Suggestion for C# compatible language

Scheduled Pinned Locked Moved C#
csharpc++algorithmsperformancequestion
6 Posts 6 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.
  • B Offline
    B Offline
    bfoo75
    wrote on last edited by
    #1

    Hi All I've just joined a project that is going to require a heavy load of optimization. I'm looking for a language that is compatible with C# that compiles into machine code. At the moment, our plan involves a number of nested loops to which we are hoping to write in machine code. Would C++ work for this? Thanks.

    P P S A 4 Replies Last reply
    0
    • B bfoo75

      Hi All I've just joined a project that is going to require a heavy load of optimization. I'm looking for a language that is compatible with C# that compiles into machine code. At the moment, our plan involves a number of nested loops to which we are hoping to write in machine code. Would C++ work for this? Thanks.

      P Offline
      P Offline
      pbraun
      wrote on last edited by
      #2

      If you look inside a C++ application, there is a lot of overhead and name mangling that goes on. This can lead to loss of performance, but not necessarily. If you are looking to use a third generation language with close to optimal speed, then your best bet is C. If speed is an absolute must, then you need to look at assembly. Something to keep in mind also is the balance between speed and memory optimization. Phil

      1 Reply Last reply
      0
      • B bfoo75

        Hi All I've just joined a project that is going to require a heavy load of optimization. I'm looking for a language that is compatible with C# that compiles into machine code. At the moment, our plan involves a number of nested loops to which we are hoping to write in machine code. Would C++ work for this? Thanks.

        P Online
        P Online
        PIEBALDconsult
        wrote on last edited by
        #3

        If you mean C# compiled to machine code, look at the Mono project.

        J 1 Reply Last reply
        0
        • B bfoo75

          Hi All I've just joined a project that is going to require a heavy load of optimization. I'm looking for a language that is compatible with C# that compiles into machine code. At the moment, our plan involves a number of nested loops to which we are hoping to write in machine code. Would C++ work for this? Thanks.

          S Offline
          S Offline
          Stefan Prodan
          wrote on last edited by
          #4

          heavy load of optimization = ANSI C :)

          http://stefanprodan.wordpress.com

          1 Reply Last reply
          0
          • P PIEBALDconsult

            If you mean C# compiled to machine code, look at the Mono project.

            J Offline
            J Offline
            J4amieC
            wrote on last edited by
            #5

            How does mono compile C# to machine code exactly? :confused:

            --- How to get answers to your questions[^]

            1 Reply Last reply
            0
            • B bfoo75

              Hi All I've just joined a project that is going to require a heavy load of optimization. I'm looking for a language that is compatible with C# that compiles into machine code. At the moment, our plan involves a number of nested loops to which we are hoping to write in machine code. Would C++ work for this? Thanks.

              A Offline
              A Offline
              AFSEKI
              wrote on last edited by
              #6

              Any .NET language is compatible. In fact there are other languages compatible, callable from managed (.NET) languages but that requires experience in these areas and I don't suggest it because no language is 100% compatible with another one ;)

              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