我应该学习C++还是Python?

2022-05-07

以下示例是关于Python中包含我应该学习C++还是Python?用法的示例代码,想了解我应该学习C++还是Python?的具体用法?我应该学习C++还是Python?怎么用?我应该学习C++还是Python?使用的例子?那么可以参考以下相关源代码片段来学习它的具体使用方法。

[英]:should i learn c++ or python源码类型:Python
Python is good for beginners and small-scale games, as well as small web dev since it is slow
and uses alot more memory than C++

C++ is good for big games where high performance is needed and for making OSs like Windows or
Mac OS and other stuff like machine learning, AI, browsers, etc although harded to learn and 
requires more effort to make sure it's code can't be hacked/tinkered with and has buffer error
and you needed to make your own memory management system.

They're both good but if you want to use Python anyways I'd recommend learning C since Python
is built on C so if you write a C file and import it to python you get a good boost of performance
and use up way less memory

本文地址:https://www.itbaoku.cn/snippets/785136.html