这是每个游戏编程FAQ 里都有的问题
这个问题每星期都会在游戏开发论坛上被问上好几次
这是个很好的问题,但是,没人能给出简单的答案
在某些应用程序中,总有一些计算机语言优于其他语言
下面是几种用于编写游戏的主要编程语言的介绍及其优缺点
希望这篇文章能帮助你做出决定
This is a question that belongs in every game programming FAQ
It seems to be asked in a game development forum several times a week
It’s a good question, though, and not one with an easy answer
There are computer languages that work better for some applications than others
Here is a list of the major programming languages used to write games along with descriptions, advantages, and disadvantages
Hopefully this list will help you make a decision
1、C 语言 如果说 FORTRAN 和 COBOL 是第一代高级编译语言,那么 C 语言就是它们的孙子辈
C语言是Dennis Ritchie 在七十年代创建的,它功能更强大且与 ALGOL 保持更连续的继承性,而 ALGOL 则是COBOL 和 FORTRAN 的结构化继承者
C 语言被设计成一个比它的前辈更精巧、更简单的版本,它适于编写系统级的程序,比如操作系统
在此之前,操作系统是使用汇编语言编写的,而且不可移