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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. C# or C++/CLI?

C# or C++/CLI?

Scheduled Pinned Locked Moved C#
csharpquestionc++performance
4 Posts 3 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.
  • T Offline
    T Offline
    Tal Rashas Guardianship
    wrote on last edited by
    #1

    My project is written by C++, now I want to change it to .NET platform, I have two choices, C# or C++/CLI, choose C# means rewrite all of the code, choose C++/CLI means part rewrite, and it's flexible But I'm warry about three points: 1.The grammar of C++/CLI is surprising, what is the C++/CLI like? C++? C#? a new language? 2.The flexibility of C++/CLI is interesting, but may not good to the project leader, if the programmer write some pure c++ code and cause some abnormal memory accessing, it's hard to find them out. Who can guarantee that his programmers are all good enough? 3.After change to C++/CLI, the workload of refactoring may not lower than rewriting So, it seems that I should use C#? Who can give me some ideas? Thanks in advance

    P B 2 Replies Last reply
    0
    • T Tal Rashas Guardianship

      My project is written by C++, now I want to change it to .NET platform, I have two choices, C# or C++/CLI, choose C# means rewrite all of the code, choose C++/CLI means part rewrite, and it's flexible But I'm warry about three points: 1.The grammar of C++/CLI is surprising, what is the C++/CLI like? C++? C#? a new language? 2.The flexibility of C++/CLI is interesting, but may not good to the project leader, if the programmer write some pure c++ code and cause some abnormal memory accessing, it's hard to find them out. Who can guarantee that his programmers are all good enough? 3.After change to C++/CLI, the workload of refactoring may not lower than rewriting So, it seems that I should use C#? Who can give me some ideas? Thanks in advance

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      C# would be the better way to go. I was brought up with C++, went over to C# since I also worked with Java and there are similarities. When C++/CLI came about, I was too hooked on C#. Compare the number of posts in the C# forum here versus the C++/CLI forum...

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

      1 Reply Last reply
      0
      • T Tal Rashas Guardianship

        My project is written by C++, now I want to change it to .NET platform, I have two choices, C# or C++/CLI, choose C# means rewrite all of the code, choose C++/CLI means part rewrite, and it's flexible But I'm warry about three points: 1.The grammar of C++/CLI is surprising, what is the C++/CLI like? C++? C#? a new language? 2.The flexibility of C++/CLI is interesting, but may not good to the project leader, if the programmer write some pure c++ code and cause some abnormal memory accessing, it's hard to find them out. Who can guarantee that his programmers are all good enough? 3.After change to C++/CLI, the workload of refactoring may not lower than rewriting So, it seems that I should use C#? Who can give me some ideas? Thanks in advance

        B Offline
        B Offline
        BadKarma
        wrote on last edited by
        #3

        Hi, In my opinion you should try to stay away from c++/cli. Either choose c++ or C# or like i do: Use C# for gui and stay with c++ for internal processing.

        Learn from the mistakes of others, you may not live long enough to make them all yourself.

        T 1 Reply Last reply
        0
        • B BadKarma

          Hi, In my opinion you should try to stay away from c++/cli. Either choose c++ or C# or like i do: Use C# for gui and stay with c++ for internal processing.

          Learn from the mistakes of others, you may not live long enough to make them all yourself.

          T Offline
          T Offline
          Tal Rashas Guardianship
          wrote on last edited by
          #4

          Yes, the WPF attacked me, I want to use it to the GUI. thanks for your advice

          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