Let's say I want to create an FPS game, say, clone Crysis so that everyone understands what type of graphics and performance I will use. What is the best code for writing this game as easy as possible to port it to all common platforms? Of course, I want the application to feel and carry the platform. It also means that you can easily take advantage of the new Snow Leopard features, such as the new OpenCL and Windows 7 features. I understand that the GUI is written separately for different platforms, and that’s not a problem.
So my question is what is the best language to work with. I'm not looking for a solution for everyone, but more like a kernel language. I guess one way to say that the best language is if you need to port the same program to Windows, OS X, and Linux? Java is out of the question.
C (and now for some addition to reach 15 characters)
Have you ever seen the Blues Brothers? In the film, Jake and Elwood go into a tramp to make a concert and ask what kind of music they like, what the woman behind the bar answers:
We have both types: country and western.
? , 3D-, , ?
: C ++.
++. "if #define" ( , / ). .
- .
, C , C89, Visual ++, MinGW gcc C99 (V++ 2008 C99, , ++ ).
, GNU , .
, , Lua Python , C, .
Lua . ANSI C, , : ( , ) ++ : C , lua. , , !
Java, , , . Java, , "" , -, JavaScript, CSS HTML/5, , , , ... =) FPS Java, , , , # ++, , , , .
, , . , Java (Python - ), . , , </intelligent-looking-padding> C ++.
</intelligent-looking-padding>
: . wxWidgets.
- ++, - ; , C. !
API, , . -, Qt wxWidgets GUI. .:)
, C/++ , () .
"", , , , , C/++. 2 Lua Tcl.
Lua, , WoW , . , Tcl " " ().
++ - . , . SCons CMake /make Windows/Linux/MacOS.
C - , - . , ++, , python. sfml pygame.
Source: https://habr.com/ru/post/1717001/More articles:Lucene Index Optimization - luceneГде следует поместить код для автоматического создания осколочного счетчика в Google App Engine/Django при создании новой модели? - pythonAm I doing it wrong? SVN merge changes from trunk to git branch. Using merge --squash - gitHow to make the tooltip move with the mouse? - c #Find every execution execution count in Java - javaIs there a way to install Delphi 2010 on Windows 2000? - delphiHow to get sqlalchemy to store datetime as julianday in sqlite? - sqliteAdd a contract for the implementation of the interface - c #С# и Java: 3/2 * 3.2 = 3.2, почему? - javaHow to ensure that interface implementations have a connection string if they are supported by the database using code contracts - c #All Articles