Written using the C game What are the advantages?

  Some things are beyond doubt. First, it must be trustworthy. I can not spend time on solving those problems are not caused by me. Many previous games are written in a flash, but flash is now facing extinction. I do not want to put unnecessary time spent on the old game migrated to the new platform. What I want is to create a new game. So I need a platform I can confidently use for some time. Also, I want to avoid being tied to a particular operating system. Ideally, I would like to choose to develop a console. Therefore, choosing a programming language most important thing is that it is portable, and supports portable library.

  Our view of language

  I pursue the most important, but not essential is its simplicity. I found looking for language features and its clever and quirky api is a very tiring! Ideal language - these things do not need to look for can remember. In addition, to deal with those bug definitely make your creative loss. So I want a strongly typed powerful error messages and static code analysis to reduce the occurrence of errors. I also want a good debugger and dynamic analysis to make easier for me to find bug. I do not care whether the strong performance, but you can at least use. If you do not want reality, it can be modern, powerful computers to explore its possibilities.

  I do not even care about the speed of the compiler. I'm not a very focused Jackson. Wait ten seconds for me is a waste, but more importantly, it would break the rhythm of my thinking.

  I do not pursue the object-oriented (OOP). I spent a lot of time management classes and objects, but I found it took more time, but I do not understand why the code and data should be strictly combined. I want to process the data and write code for this.

  Options

  Written in C ++ is still the game 's most common language, no reason. I use it to write a lot of projects, but I do not really like it.

  C ++ covers what I need, but did not meet what I want. Too complicated! Although some tools are very good, but it is still very easy to make mistakes. C and C ++ compilers compared to very slow. But even if it is a high-performance, and there are some features not C, I do not care if it's there.

  C # and Java somewhat common problem. They are long and complex monster, I just need something simple and concise. They are forcing the programmer to think about object-oriented programming style, which is all I object. As a high-level language, they should have a tendency to hide its complexity.

  I like to go than I do. In many ways, this is the redevelopment c, I chose to use, but it also has a big problem, stop me from using it. To implement garbage collection algorithm for the game is a re annoying thing in the use of stop-the-world approach. Game Library support is also a bit weak, although you can use the C library, but this will increase much more. This is enough to make me doubt its long-term effectiveness. Although it provides a good service for the network, but it also has a fast-moving nature of the bad environment. This may mean the demise of a little flash. Then I want to say I really really do not like java, it is so vague loose, I was particularly surprised that someone actually able to use it to write on a large piece of the software. I have almost no interest in trying it.

  Haxe feel more promising than any other language. If I still do something on the network, I would choose it. It has good library support. I'm just a little worried about your immaturity and longevity. Well, I have nothing to say.

  Jonathan Blow is written in his own language, a language of his own to use. I'm very envious. Sometimes I want to do. But think about it, you need to give up all the existing library support, and assume responsibility for future compatibility, so you need to consider it. This is too hard. When the nature of the problem here, I'd rather play the game.

  Why C is my best choice

  C is dangerous and reliable. Like a sharp knife, cut your finger and cut vegetables, learn how to use it carefully but not too difficult.

  It compiles very fast, I can not imagine it faster than it.

Guess you like

Origin www.cnblogs.com/yoyo02/p/10992866.html