Quantcast
Channel: C# and C++/CLI dilemma
Viewing all articles
Browse latest Browse all 19

C# and C++/CLI dilemma

$
0
0

@Tan Silliksaar, people write mixed code mainly because there's a need to do so, not because they feel comfortable with it.

It might be an advantage but not the kind of advantage I'm looking for.

I'll just give a certain scenario to make things easier.

Say I have a compression library written in C++ and big parts of the application is written in C#, obviously if I used C++ this was a non-issue, but given that I choose to use C# how much I gain by using C++/CLI for interoperability than doing this through P/Invoke ?

At first I thought like creating everything in C++/CLI, I read few articles and it seems that there are various issues with it, so I might end up creating some of the component in traditional C++ and most of the UI in C#.

 


Eyal, Regards.

Any fool can write code that a computer can understand. Good programmers write code that humans can understand. -- Martin Fowler.

SharpHighlighter - is an extension for Visual Studio, a fairly simple code highlighter for C#.

Viewing all articles
Browse latest Browse all 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>