ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello boy, python and c++ are similar and you can done identical here. In the python there are graphical libraries how in the C++.
Python is multiplatform interpreter (it's work also on the smartphone) while C++ isn't work.
I like python for the fast and simple applications
Python is an interpreted language and tends to run slower than C++ (compiled language) but it's easier to code and takes less code to accomplish the same thing. As far as python's slowness is concerned, PyPy (which is faster than CPython, ie the standard Python) is slowly gaining popularity.
Typically, languages such as Python work in tandem with low-level tools such as C/C++. You are given "a nice, fuzzy, easy-to-use Python library" which, as it so happens, invokes lower-level C/C++ code and external libraries to do the heavy lifting. Meanwhile, for everything else that you need to do, Python itself (which is, of course, also a large and sophisticated C/C++ program ...) is fast-enough, efficient, and readily available.
In this scenario, C/C++ becomes a more specialized tool: used to construct higher-level languages such as Python itself; and used to implement specific, targeted functionality (in the form of libraries and subroutines accessible to the higher-level language tools). In this way, you play to each language's respective strengths (and designs), with no significant loss in computer efficiency (but considerable gains in far-more-expensive human efficiency). So, it's simply not a "versus" issue at all.
Q: Scalpel vs. chain-saw? A: Well, it depends on exactly what it is you are trying to cut ...
Last edited by sundialsvcs; 07-06-2012 at 09:09 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.