|
|

楼主 |
发表于 2006-8-20 02:12:00
|
显示全部楼层
Re:大胆预言,C#将成为游戏开发的主流!!
呵呵,基本上是一边倒啊,可能是这里用C++的占多数的原因。
我想最有发言权的应该是同时用过C++和C#开发过游戏的人,而不是凭自己的主观判断(认为C#程序的运行速度比C++慢得多)。
下面是msdn游戏开发论坛上一个同时用过C++和C#开发过游戏的人所作的客观评价:
Could C# be the future of gaming?
From my experience (and that is having developed several shareware games) C# is no different than Managed C++. The same performance. Native C++ only has a small (within 1%) performace increase over C#. I have been successful in porting one of my games from CLI C# to MONO C# for linux/Mac OS X and it was flawless.
C# IS the future, it's easier to read, easier to program, opens up the doors to RAD C++ because that's what C# is.
What Roger said about the algorithms is true, after all the language comparisons, if its just poor code, it's poor code.
呵呵,下面是我粗略翻译的内容:
C#会是游戏编程的未来吗?
从我的经验来看(已经开发过几个共享游戏),C#和托管C++没有任何区别,性能是一样的。本地C++在性能上只比C#高一点点(在1%以内)。我非常成功地把我的一个游戏从CLI C#移植到linux/Mac OS X的MONO C#上而没有任何的性能损失。
C#是未来,它的代码易读、编程简单,它为我们打开了通往快速C++开发之门,因为这就是C#的魅力所在。
Roger据说的算法问题是对的,如果代码本身就很差,那所有对语言的比较就毫无意义。 |
|