View Single Post
  #4  
Old 05-05-2001, 05:39 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Oh actually Graal uses Graal Script
because it is simplier to send via TCP and
can be dynamically compiled & loaded into
memory without a big overhead

Some games like Quake use C/C++ via
dlls (you compile your script into a dll,
then the game calls the functions there),
which is faster,
but hard to control (cheats), not dynamic
(can't be part of the level file itself)
and bigger of size.

Support scripting via Java would be possible
since the file size is small, but the Java interpreters
take tons of ressources (between 7 and 20MB!)
and are slow.

That's why there is the third way of doing the
parsing (easy task) in the program itself or
by using a parsing library.
Other popular programs like the appache http
server do it the same way (php).
Reply With Quote