Saturday, May 22, 2010

C++, Visual Studio and Web Design?

Do I need to learn C# or VB to develop with the .NET Framework ? If not, is it better with C# or VB ?





The reason I ask is because by learning C++ I can apply that knowledge to things outside the .NET framework. However, if I choose C# Im stuck with .NET.





Your help and insights are appreciated.

C++, Visual Studio and Web Design?
I would suggest C# or vb. The reason that I suggest this that all good programmers should be able to use the best tool for to solve any problem. Like perl if you have to parse a bunch of text. vb or c# if you need a quick data driven website. C++ if you have to do any rigorous network programming. C++ and Assembly for intesive graphics and real time programming.





Good programmers have to adapt to the problem that they are solving.
Reply:You may use C++.NET. There's even a free (for a limited time) version with optimized compiler and a complete IDE: Visual C++ Express.


It is _not true_ that the only way to use C++.NET in Web applications would be CGI, and it is _not true_ that it is slower.


You should know that you can effectively create ASP.NET Web Pages with C++.NET (see the link below).


Let me quote MS' George Shepherd:


"The final, and perhaps most compelling reason to use Managed C++, is that the Microsoft C++ compiler is optimized. It's the most evolved and best-tuned compiler available for generating code to run under the CLR."
Reply:C++ uses the CGI (Common Gateway Interface) to interact with the web, which can create overhead and sluggishness on dynamic webpages. C# (in my opinion) would be the better choice between C# and VB, though as long as you have access to .NET I would recommend using ASP.NET (Active Server Pages), and reserve C# for back-end server-only processing.





Bottom line: C++ will be slightly slower than your other two alternatives.


No comments:

Post a Comment