开发者

is python as capable as other languages like c++?

i am looking to start learning. people have told me it is juts开发者_高级运维 as capable. though i haven't really seen any good looking games available. some decent ones on pygame, but none really stand out.

i would like to know if python really is as capable as other languages.

EDIT: thanks guys, is python good for game development?


Each language has strengths and weaknesses.

Also, each implementation of a language has strengths and weaknesses. CPython is not the same as Jython and PyPy is different again.

Python is very good in the "business logic-to-lines of code" ratio: it has a pretty succinct way of putting things.

C++ is good at lower-level functionality, but given good code can also express high-level functionality with clean code.

Performance of well-written C++ code will usually be better than equivalent Python code, but performance is not always an important measurement of code.

When big-budget games use Python (or other dynamic languages), then they usually don't write their whole project in that language. Instead they use a base engine written in some lower-level language (C, C++) and implement some (or most or all) of the "business logic" in the dynamic language. That provides the best of both worlds.


Short answer: Yes, it is.

But this heavily depends on your problem :)


Yes, Yes and Yes. Python is for Real Programmers.

Must Read http://www.paulgraham.com/pypar.html

Refer For More. http://wiki.python.org/moin/LanguageComparisons


This article has very good comparison of Python with other languages like C++, Java etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜