C/C++ Visual C++ or C# is better to learn ?

  • Thread starter Thread starter Sprinter
  • Start date Start date
  • Tags Tags
    C++ Visual
AI Thread Summary
In the discussion about choosing between C++ and C# for a career in the ICT field, C++ is favored for its cross-platform applicability, while C# is noted for its association with Microsoft and Windows environments. The conversation highlights that C++ is more relevant for web and database servers, which predominantly do not operate on Microsoft systems. For physics students, there is debate on whether C# can meet their needs, with suggestions that Python might be a better alternative due to its lower development time and portability. However, concerns are raised about Python's memory management, which is less advanced than C++. Some participants suggest that specialized math software like Maple or Matlab might be more suitable for physics applications. Additionally, tools like SWIG are mentioned for integrating C++ with Python to enhance performance, and there is a reference to a project aimed at bringing .NET to Linux, indicating a growing interest in cross-platform development.
Sprinter
Messages
57
Reaction score
0
For the sake of getting job in ICT field, what shall i focus on ? C++ or C# ? :confused:
 
Technology news on Phys.org
C# is a Microsoft product, and only really runs on Windows. C++ is applicable to every platform. Since the majority of web and database servers in the world do not run Microsoft operating systems, it only makes sense to learn C++. Try your best to stay away from the "Visual" part of C++, which is also Microsoft-specific.

- Warren
 
what about physics students? can C# cover their needs?
 
Majid said:
what about physics students? can C# cover their needs?

Python can do complex numbers and, while I'm still learning about it, it seems like the development time is much lower than c++. And python runs on pretty much any system out there, so it's very portable.

I don't really know too much about how much code a typical physics student really needs...

Wouldn't a math package like Maple or Matlab be better suited for most physics students? Not that there is anything wrong with writting your own code for solving a problem...:smile:
 
For complex and time consuming computer calculations, I would advise against Python as its memory management system is not as advanced as C++ although there is a patch which significantly reduces Python's memory consumption.
 
C++ does not have a memory management system, sid_galt. When using Python's built-in algorithms and data structures, performance can be neck-and-neck with C++.

- Warren
 
If you need to speed up your python program you can use swig. It allows you to use your c++ code in python.

http://www.swig.org/
 
Back
Top