Tatech provides the best technews and techinfo blog with all the description of all the news related to technews and tatechservices also provide all IT services & software development.

When should I use C++, Java, or Python ?

When should I use C, Java, or Python ?

When should I use C, Java, or Python ? Python, Java and C++ area unit all generic programming languages, thus there’s plenty of overlap wherever over one among them could be a sensible choiceas an example will each Java and C++ be an honest alternative for embedded systems (depending on the details) and therefore the same will be aforementioned for C++ and Python once it involves desktop applications (once once morelooking on details).

But there are some clear-cut cases where one of them clearly should be chosen instead of the other two:

Python – tiny and mid-sized applications wherever short development time and simple modification is a lot of valuable than raw performance.
Custom created desktop applications for internal use in an exceedingly organization, wherever you have got a restricted range of users and management the preparation of the package.
Scientific applications because of massive support from the scientific community, with several accessible modules.

Java – Heavy server applications. Mission critical server-side applications.

C++ – operative Systems, Databases and different necessary building blocks in a very package stack.
Anything wherever raw performance or shut integration with hardware or software system is vital.

Heavy desktop applications (office suites, web browsers, 3D-modelling and 2D-graphics software etc).

These are of course my personal conclusions, but they are based on more than 20 years of software development on small and large code bases (500k+ lines of code) for server and desktop.

Generally, the choices above comes down to the following strengths and weaknesses of the three languages in question:

Python – Quick to get something started. Low learning threshold. Good enough for production code in most cases. Not so good performance.

Java – Structured and clean. Scales well to massive comessmart performance once given enough spatial relationsimply deployable on completely different architectures. smart fault tolerance (bounds checking, exception handling, garbage collection).

C++ – Best performance. solely language wherever you’ll work each with high-level constructs and low-level calibration. Scales well to giant comesterribly flexible to specific conditions. easy accessibility to any or all system calls and libraries. tougher to be told and to stay code and structure clean. Longer and additional punishing development cycles. Lousy fault tolerance, in depth testing required.

Big data