Re: [GD-Windows] C# scripting
Brought to you by:
vexxed72
From: Brett B. <res...@ga...> - 2004-05-20 01:54:36
|
I should clarify my question as I don't think I was clear. It seems that JScript combined with JIT is an efficient solution. A = fast scripting language like Lua outperforms a traditional Javascript = implementation enough that it is worthwhile to use Lua for our intended = use in a realtime game. So I'm wondering if anybody could comment how = C# using JScript might stack up against a C++ app with embedded Lua in = terms of raw performance (Or any other language/script combo, my point = being to benchmark between native code and "managed" code). Hmm... maybe I made it even more unclear? :-) ----- Original Message -----=20 From: "Brett Bibby" <res...@ga...> To: <gam...@li...> Sent: Thursday, May 20, 2004 8:52 AM Subject: Re: [GD-Windows] C# scripting > Tom, is there a better list than this one to discuss the use of C# in = game development? >=20 > Meanwhile.... >=20 > I know that C# can already support JScript out of the box, but coming = from our current PlayStation2 engine that uses Lua, it must be a = magnitude slower to use JScript inside a JIT environment isn't it? = Would you recommend developers to implement their own scripting = solutions? >=20 > Brett >=20 > ----- Original Message -----=20 > From: "Tom Miller" <tm...@wi...> > To: <gam...@li...> > Sent: Thursday, May 20, 2004 2:36 AM > Subject: RE: [GD-Windows] C# scripting >=20 >=20 > > The upcoming update for the DirectX SDK includes a sample showing = this > > exact functionality.=20 > >=20 > > -----Original Message----- > > From: gam...@li... > > [mailto:gam...@li...] On Behalf = Of > > Mitch Walker > > Sent: Wednesday, May 19, 2004 9:48 AM > > To: gam...@li... > > Subject: RE: [GD-Windows] C# scripting > >=20 > > You can also use the CLR to host code. You create a new AppDomain = and > > run the code inside of this. You can apply permissions to this > > AppDomain, so, for example, the code inside it has "ExecuteOnly" > > permissions (Can't do IO, Sockets, etc). There are compiler APIs as > > well so you can compile the code that you want to host on the fly. = This > > would allow you to keep all of your scripts in file format, compile = them > > on start up and possibly detect changes and reload when applicable. = If > > you are writing managed code and need scripting type functionality, = I > > would definitely take a look at this option. > >=20 > > -Mitch > >=20 > > -----Original Message----- > > From: gam...@li... > > [mailto:gam...@li...] On Behalf = Of > > Lewin, Gareth > > Sent: Wednesday, May 19, 2004 9:27 AM > > To: gam...@li... > > Subject: RE: [GD-Windows] C# scripting > >=20 > > Well, C# supports the microsoft scripting host stuff out of the box > > AFAIK, so Javascript, VBScript etc should 'just work' > >=20 > > _________________________________________ > > Gareth Lewin - http://www.garethlewin.com > >=20 > > "Facts are useless. You can use facts to prove anything that's even > > remotely true. Facts shmacts!" -- Homer Jay Simpson. > >=20 > > -----Original Message----- > > From: Brett Bibby [mailto:res...@ga...] > > Sent: Tuesday, May 18, 2004 11:47 PM > > To: Gam...@li... > > Subject: [GD-Windows] C# scripting > >=20 > >=20 > > Howdy. Does anybody know if there are any scripting languages that > > directly support embedding into C#? At this point speed is not a > > requirement, just doing some research. I know I can glue something = like > > Lua into it, but since it's unmanaged code it would be ugly. Thanks, > > Brett > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up = now > > for SourceForge Broadband and get the fastest 6.0/768 connection for > > only $19.95/mo for the first 3 months! > > http://ads.osdn.com/?ad_id%62&alloc_ida84&op=3Dick > > _______________________________________________ > > Gamedevlists-windows mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: SourceForge.net Broadband > > Sign-up now for SourceForge Broadband and get the fastest > > 6.0/768 connection for only $19.95/mo for the first 3 months! > > http://ads.osdn.com/?ad_id%62&alloc_ida84&op=3Dick > > _______________________________________________ > > Gamedevlists-windows mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > Archives: > > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: SourceForge.net Broadband > > Sign-up now for SourceForge Broadband and get the fastest > > 6.0/768 connection for only $19.95/mo for the first 3 months! > > http://ads.osdn.com/?ad_id%62&alloc_ida84&op=3Dick > > _______________________________________________ > > Gamedevlists-windows mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > Archives: > > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by: SourceForge.net Broadband > > Sign-up now for SourceForge Broadband and get the fastest > > 6.0/768 connection for only $19.95/mo for the first 3 months! > > http://ads.osdn.com/?ad_id%62&alloc_ida84&op=CCk > > _______________________________________________ > > Gamedevlists-windows mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > Archives: > > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle = 10g.=20 > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id=8166&op=CCk > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > |