scripting via COM?

Andras Balogh <[email protected]> Wed, 25 Jan 2006 21:09:45 -0700
Newsgroups gmane.games.devel.general
Message-ID <[email protected]>
My biggest annoyance with scripting has always been somehow exporting
my C++ classes and functions to the scripting languages. I know that there
are tools to help with this, but I never really liked any of them.
They are always a pain to setup and use, and the binding is too rigid.

Now, I believe that most decent scripting languages have some kind of
support to easily call into COM objects. So I was thinking: Wouldn't
it be the best to just wrap my engine into a COM object, and then the
scripting language just makes calls into it through COM? This would
also make the binding between the scripting and the engine much more
dynamic. So it would be possible to use the same engine from virtually
any scripting language that can access COM objects.

I'm not terribly experienced in scripting, so it's possible that I'm
missing out on a lot of important issues..
What are your thoughts on this?




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