Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Requirement for a Programming Language for Games (Strategic games)

0 views
Skip to first unread message

Shakti

unread,
Feb 28, 2008, 4:02:11 AM2/28/08
to
Hi All,
This is a general thread I am starting to discuss the issue of
existing programming languages for games and also what more is needed
in a language. So suppose I ask like this "Given a choice for a Game
programming language, what all features would all like in that.". I
know it depends on the type of game that people are using. So lets
make it more specific, like Strategic games. This i need as a study
for the programming language features that still needs to be
enhanced.
What all special features that language should support internally?
What all difficulties that people face while programming with other
languages?
etc
All these can be discussed here. Please use this as a thread to
discuss so that may be in future we can be able to carry out the task.

cr88192

unread,
Feb 28, 2008, 4:06:33 PM2/28/08
to

"Shakti" <shakti....@gmail.com> wrote in message
news:ac7ff488-abe7-449a...@o77g2000hsf.googlegroups.com...

usually games are written with multiple languages, one language for the
engine itself (usually C or C++), and another language for the scripts.


strategy games should not have any particularly "powerful" language
requirements, albeit for this probably what would be useful would be
lightweight objects and collection types.

so, here are a few options (script languages):
Python: is popular;
Lua is also popular;
Ruby may also be worth consideration;
Scheme is touted, but has its own box of issues (ugly/awkward syntax, and
lack of "good" implementations), so IMO it is probably better for if one
wants to write their own scripting engine...


or, for more general languages:
Java;
C or C++ (used in some games, where the scripts are basically compiled into
DLL's or SO's).

Java has an advantage if one is using the gcc compiler (in the form of
cygwin, mingw, or are dev'ing on Linux), since the compiler more or less
includes built-in Java support (usually installed with the compiler).

gcc also has features to aid in the process of interfacing Java and C++
code.


also possible would be to write an entire game in Java.
this may be a workable option as well (since it makes it more reasonable to
write the entire game in a single language). however, IMO, Java has a few
well-known detractors as well.


duncan smith

unread,
Feb 29, 2008, 10:08:08 AM2/29/08
to
0 new messages