C++.Net vs C#

Hi there, 

I am going to write a Windows desktop image/document processing application (Windows Form), which will be processing and I/O intensive. I was told that C++.Net will be much faster than C#. Also, in Visual Studio 2008, C++.Net can be compiled to Windows native code!

I'd like to hear some of your great inputs on this.



4/21/2008 6:42:48 PM
asp.net.getting-started 91979 articles. 4 followers. Follow

8 Replies

Similar Articles

[PageSpeed] 12
Get it on Google Play
Get it on Apple App Store

I don't have a tremendous amount of input on this except to say that you should do a lot of research before you make a decision.  I was under the impression however that since C++ compiles to IL just like C#, any speed gains would be very marginal.  For a trully intense image processing application you might want to write the more intensive parts of it in  a functional langauge (I've been loving F# lately), and test and maintain those parts as seperate libraries.  Check out what the guys at Paint.NET (http://www.getpaint.net/) did, I believe it's mostly in C#.
4/21/2008 7:03:48 PM

native code is not that good u should compile for each platform

u can't use C++ for the Web , Silverlight and WPF

C++ is faster but C# has proven that it is fast too

also u can use them both  Smile

if this post unswerd ur question marke it as answer
4/21/2008 7:13:01 PM

C++ might give you better performance for the image processing part of your app, so you might consider writing that part of your code in a C++ library.

For the rest of your app, however, C# would likely be a much wiser decision due to simpler (and therefore quicker) development.

I hope this helps,

Steve C. Orr,

4/21/2008 7:52:43 PM

Thanks for the feed back. But is it true that VS 2008 can compile it to native code? I could not find that kind of information any where.

4/21/2008 9:02:47 PM


Thanks for the feed back. But is it true that VS 2008 can compile it to native code? I could not find that kind of information any where.

i m not sure but i think it maybe possible Whatever why do u want compile to native code ?

if this post unswerd ur question marke it as answer
4/21/2008 10:48:21 PM
Obviously, the native binary code (Win32 machine code as being created from non .Net C++ like MFC) is faster, since it won't need JIT and .Net runtime. But according to one of my friends, the native code may not be possible because my code has to call .Net class libraries.
4/22/2008 3:41:48 PM
AlanShiHong45040 wrote:

> Obviously, the native binary code (Win32 machine code as being created from non .Net C++ like MFC) is faster, since it won't need JIT and .Net runtime. But according to one of my friends, the native code may not be possible because my code has to call .Net class libraries.

Have you looked at /CLI or /CLR or whatever it's called in this release?
4/22/2008 4:07:44 PM

For .net i think C# is better i know people who have been using unmanaged C++ and shifted to .net they did not like the managed C++ 

if this post unswerd ur question marke it as answer
4/22/2008 5:30:16 PM

Similar Artilces:

C#.NET in VS.NET vs. C# in Web Matrix
Hi all, I am very new to .NET ... I realized C#.NET is only available from Visual Studio.NET ... however, I realized Web Matrix also allowed us to choose C# as language but not C#.NET ... they are not the same, right? If not, then why it's in Web Matrix which runs ASP.NET?? If I need to run C#.Net, I MUST GET VS.NET, right? Can C#.NET has the abality to create chat program? Thank you very much. C#.NET and C# are the same thing. JimMS MVP ASP.NET [VC++/MFC emeritus]Old Dog Learns New TricksPreferred programming language: cuneiform on clay tablets So ... that means I can use web matrix t...

vb.net vs c#.net vs j#.net
just out of curiousity which looks, acts most like java? i'm still learning trying to used to vb.net but it seems that it was easier to do some stuff with java. C# is Java++ in my opinion. If you have done C or Jave you will prefer C#.Mike Schellenberger - MCAD If you are looking for language similar to java go for J#. However most code samples you find on the net will be in VB.NET and C#....

Sending SMS using vb.net or C#.net using vb.net or c#.net
Hi  My requirement is I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0. once i read the all fileds and take that mobile number.using tat mobile number  i need to send sms .after sending sms i shuld change status as 1 How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link. and also provide the how to update the status field im csv file   Thank ssandhya   To send SMS, you need some third party SMS providers. if you consul...

use VB.NET and C#.NET code in the same C#.NET project
All-- Here is a sample that is "off the beaten path", (at least for me). Is it possible, in an ASP.NET application, using the code-behind page building technique, to have both pages written in VB.NET and pages written C#.NET?At http://www.WebLogicArts.com/DemoList.aspx there is a sample that shows that, (contrary to popular belief), it IS possible to mix ASP.NET pages built with C#.NET with ASP.NET pages built with VB.NET in the same VS.NET 2003 project. Note that this is just a "fun" sample to see if it can be done and I do not recommend this practice as a "standard" way of develo...

Developed C#.net WebService 1.1 for Client C#.net 1.1. Getting error "Server was unable to process the Request" Pls Help
Hi., I developed Microsoft C#.net Web Services2003 for the Client Application C#.net 2003. When it runs in 5 machines it gives good performance and has no errors. But if i run the same application in about 80 client machines. Getting error "Server was unable to process the request". I use Sql Server 2005 as my database. I get error even when i login at a time for about 25 users. Tried modifying machine.config too. But went unsuccessful. Live Server is 2003 using IIS 6.0 I use very expensive data handling.  Its very urgent pls help. Have to post in Live Server. Thank u., ...

converting to vb.net from c#.net authorize.net
authorize.net offered me some sample code when I signed up with them the only problem is the sample code is in c#.net but my page that they type all of their credit card into is vb.net <code><%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.IO" %> <script language="C#" runat="server"> void Page_Load(Object Src, EventArgs E) { myPage.Text = readHtmlPage("https://certification.authorize.net/gateway/transact.dll"); } private String readHtmlPage(string url) { ...

True OOPS c#.net vs vb.net
Hi, Can i get the comparison between c#.net vs vb.net on the basis of supported object oriented feature. Which one supports more features of OOPS. They both support the same features since they are both based off the same IL code.  You will see no difference between the two.  Hope this helps.P.S.  By using the term "C#.NET" is a dead give away that you are new to the language.  Because C#.NET is a redundant term since C# is only available for the .NET Framework. View My Blog Download My URL Rewriter and Reverse ProxyOnly $9.95/month, ASP.NET, 2GB & SQL 2005 ...

Visual C#.Net vs Visual Studio.Net
I have read in other posts a lot of people recommending Visual Studio.Net over the Web Matrix. My query is: why is there a £700 difference between VS.Net and Visual C#.Net? As a c# developer, I won't need any VB functionality. I also don't require Visual Source Safe, as projects are generally small and manageable. What features are lacking in Visual c#.net that justifies the price difference? Does it have Intellisense / Dubuggers / Compilers? These are the features that would make me pay for it instead of continuing with WM, but I need to know if tehre is serious functionality missin...

VB.NET vs. C#.NET Behavior of Visual Studio
I'm transitioning from coding in VB to coding in C#. Maybe I have something set wrong, but a behavioral difference is driving me bananas. When I edit a VB source file, the two drop-downs at the top of the edit view are Class Name and Method Name, and it makes it easy to add a new event handler for any of the controls on the page. Choose which one on the left, pick your event on the right, and VS inserts an empty, properly formatted subroutine. In C# mode, however, those two drop-downs are labeled Types and Members, and there doesn't appear to be a way to tell it to create the empty framew...

[Hot Discussion] VB.NET vs. C#.NET by performance
Which one have the much better performance? Which one is the best?Parco LeeOwner + Webmaster + System Engineer + Professional ProgrammerSoftDweller Lab (a software laboratory)http://www.softdweller.comA professional laboratory for new technology softwares developing by .NET.http://www.nowlover.com Hmmm, the discussion doesn't appear very hot. By the way, the answer is its all personal taste, give or take a few things that aren't important.Thanks, Paul Wilson, ASPInsider, MC**For the best .NET code, examples, and tools, visit:WilsonDotNet.com, WilsonWebPortal.com, ORMapper.net I'...

vb .net or c# .net
I currently develop websites using php but have been requested to develop a site using asp.net. The question I have is for someone who knows php would it be better to transition to vb.net or c#.net? Thanks, Fr. Robert C# -> There is a converter that will transition about 60% or more of your PHP code to C#. Plus C# is closer to PHP than VB.NET.Jason N. GaylordASPInsider and Microsoft MVPhttp://jasongaylord.com...

Vp.Net or C#.net
Has anyone Created a site with Vb.net or C# can be seen on Internet . i'd like to learn one of them !? which one would you suggest? With one is better Vb.net or C# ? thanks Ali Darabian Ah... another person joins the great debate... what about J#? ;) It's a personal choice... depends on your background, on where you are working, etc. My choice is C#.Jason Wyckoff This is the way I look at them: VB.Net and C# are the same thing!?! <=> Have I just sad same???? No they are not same, but... there's again someting.... Do you see the point now. Both are ...

what lang does everyone prefer? Thanks, Peter Iuvara, MCP It's a very famous debatable question in forums! I would say if you are from Java/C/C++, then C# would be easy to use for you. If you are from ASP/VB, then VB.NET would be easy for you! As long as if you follow CLS, then what ever the language you use, it's going to be the same for CLR!Sreedharhttp://www.w3coder.orgweblog http://weblogs.asp.net/skoganti I would agree with that ... just curious as to what user's on this forum predominantly code in?Thanks, Peter Iuvara, MCP I came from no real programming background, started i...

VB.Net To C#.Net
Hello... Since Last from 1 year i had develope web application in using vb.net now i want to transfer from vb.net to c#.net so what should i do to transform to c# language any link or book related to me through i can easily understand and coding using c# in a short time... Thanks~ Mark As Answer If UseFull ~Kaushal. Hi, you can read the specifications of the language. You're already familiar with .NET and how to program in an OO manner thanks to your experience with vb.net. The only thing you need to learn is the new syntax of C#. You can also convert parts of your v...

Web resources about - C++.Net vs C# - asp.net.getting-started

Visual C++ - Wikipedia, the free encyclopedia
Due to technical restrictions , "Visual C#" redirects here. For that software product, see Microsoft Visual C Sharp . Microsoft Visual C++ (often ...

Facebook Open-Sources Warp Preprocessor For C, C++
The Facebook open-sourcing train continued to roll on with Friday’s announcement that Warp , a preprocessor for the C and C++ languages, has ...

Dr. Dobb's - Good stuff for serious developers: Programming Tools, Code, C++, Java, HTML5, Cloud, Mobile ...
... articles, source code, blogs,forums,video tutorials, and audio podcasts, as well as articles from Dr. Dobb's Journal, BYTE.com, C/C++ Users ...

C - Skills - LinkedIn
See top C professionals, groups, and related job openings.

bind - Fixed point combinators in C++ - Stack Overflow
#include #include #include // Y-combinator compatible factorialint fact(boost::function f,int v){ if(v == 0) return 1; else return v * f(v -1);}// ...

Learning C++ HD on the App Store on iTunes
Get Learning C++ HD on the App Store. See screenshots and ratings, and read customer reviews.

Apple popularity boosts Objective-C language past C++ - Mobile Development, mobile technology, iPhone ...
Tiobe's language usage index now has the Objective-C language used for building iPad and iPhone apps taking third place, knocking C++ to fourth ...

C++ Front Office Trading Software Engineer - Trading exposure
CFOworld.com.au covers accounting, risk management, taxation, technology and financial news from ASX-listed companies.

Mastering Object Oriented Design in C++
Defining Technology for Australia's IT Leaders.

Khronos Announces OpenCL 2.1: C++ Comes to OpenCL
... more significant about OpenCL 2.1 is that after several years of proposals and development, OpenCL is now gaining support for an official C++ ...

Resources last updated: 12/7/2015 8:50:45 AM