Not sure whether I should wait for one of the "Real HPSDR Developers" on this list to say something before jumping in first.  I've done a bit of coding in C#, but in my mind the reasons are very similar to those of coding in Java (without the platform independence of course).  C# "protects" you from doing stupid things like buffer overflows or null pointer dereferences, turning them into thrown errors but never things that can crash or exploit the system.  In exchange, you need to do things the "dull / normal" way.  I'm more likely to choose C++ over C# when I need to code "unsafely" or interface with a lot of high-speed low-level stuff without wanting to pay the marshalling cost incurred on every switch into/out of C#.  I'm more likely to choose C# when I want to code something relatively quickly using pieces already developed by the system and where correctness is more important than speed (and I don't want to do as much error checking).<div>


<br></div><div>Plus C# will automatically take advantage of 64bit machines and (on Windows 8) ARM architectures, for C++ you need to spit out a different version of your program for each one.  This last point has gotten rather annoying at times.<br>


<br><div class="gmail_quote">On Fri, Mar 30, 2012 at 4:42 PM, Alberto I2PHD <span dir="ltr"><<a href="mailto:i2phd@weaksignals.com" target="_blank">i2phd@weaksignals.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div>***** High Performance Software Defined Radio Discussion List *****<br>
<br>
</div></div><br>
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    May I ask a simple question, not meant to start a religion war about
    languages ?<br>
    What are (if any) the advantages of using the bloatware of .NET
    (needed for C#)<br>
    against C++ ?  Which are the motivations behind the initial choice
    of a programmer<br>
    that elects the C# way instead of C++, when he is free from
    commercial (or of other<br>
    nature) external restrictions ?<br>
    <br>
    TNX<br>
    <br>
    73  Alberto  I2PHD<br>
    <br>
  </div>

<br>_______________________________________________<br>
HPSDR Discussion List<br>
To post msg: <a href="mailto:hpsdr@openhpsdr.org" target="_blank">hpsdr@openhpsdr.org</a><br>
Subscription help: <a href="http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org" target="_blank">http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org</a><br>
HPSDR web page: <a href="http://openhpsdr.org" target="_blank">http://openhpsdr.org</a><br>
Archives: <a href="http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/" target="_blank">http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/</a><br></blockquote></div><br></div>