Re: scripting via COM?
Kent Quirk <[email protected]> Thu, 26 Jan 2006 20:16:19 -0500
| Newsgroups | gmane.games.devel.general |
|---|---|
| Message-ID | <[email protected]> |
If you need cross-language scripting capability, definitely consider
using SWIG. (http://www.swig.org/)
The pain you'll go through getting SWIG to read your header files is a
tiny fraction of the agony you'll feel implementing scriptable COM
objects and teaching your customers to use them in various ways.
SWIG can generate bindings for everything from Python and Perl and Ruby
to Java to C# to Lua.
I haven't used it myself, but it comes pretty highly recommended if this
is the kind of problem you have.
Kent
Andras Balogh wrote:
> Well, yeah, this is not really a game engine, although it's similar.
> The big difference is that with a game engine, one could make a
> decision that it will be scripted with Lua, and be done with it. In
> this case however, customers will probably want to use our rendering
> services from all kinds of different languages, so it would be
> preferable not to have such binding limitations.
>
> Do you have any other ideas, how I could make my objects available in
> a way so it's usable by many languages, yet is simple to implement?
>
>
> Andras
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=557