Thread: RE: [GD-Windows] C# scripting
Brought to you by:
vexxed72
From: Stefan B. <Ste...@di...> - 2004-05-19 07:37:54
|
LuaInterface interfaces Lua with the CLR: http://www.inf.puc-rio.br/~mascarenhas/luainterface/=20 There's also Python.NET, which does basically the same thing for Python: http://www.zope.org/Members/Brian/PythonNet/index_html=20 I've not used them that much though so I can't offer an opinion on which is the better option. Personally I prefer Lua though since it's smaller and thus more beautiful :) /Stefan Stefan Boberg Chief Technical Officer Digital Illusions CE AB =20 > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...] On Behalf Of > Brett Bibby > Sent: 19 May 2004 08:47 > To: Gam...@li... > Subject: [GD-Windows] C# scripting >=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 |
From: Lewin, G. <gl...@ea...> - 2004-05-19 16:28:41
|
Well, C# supports the microsoft scripting host stuff out of the box AFAIK, so Javascript, VBScript etc should 'just work' _________________________________________ Gareth Lewin - http://www.garethlewin.com "Facts are useless. You can use facts to prove anything that's even remotely true. Facts shmacts!" -- Homer Jay Simpson. -----Original Message----- From: Brett Bibby [mailto:res...@ga...]=20 Sent: Tuesday, May 18, 2004 11:47 PM To: Gam...@li... Subject: [GD-Windows] C# scripting 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 ------------------------------------------------------- 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 |
From: Mitch W. <mi...@mi...> - 2004-05-19 16:48:14
|
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. -Mitch -----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 Well, C# supports the microsoft scripting host stuff out of the box AFAIK, so Javascript, VBScript etc should 'just work' _________________________________________ Gareth Lewin - http://www.garethlewin.com "Facts are useless. You can use facts to prove anything that's even remotely true. Facts shmacts!" -- Homer Jay Simpson. -----Original Message----- From: Brett Bibby [mailto:res...@ga...]=20 Sent: Tuesday, May 18, 2004 11:47 PM To: Gam...@li... Subject: [GD-Windows] C# scripting 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 ------------------------------------------------------- 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 ------------------------------------------------------- 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 |
From: Tom M. <tm...@wi...> - 2004-05-19 18:37:05
|
The upcoming update for the DirectX SDK includes a sample showing this exact functionality.=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 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. -Mitch -----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 Well, C# supports the microsoft scripting host stuff out of the box AFAIK, so Javascript, VBScript etc should 'just work' _________________________________________ Gareth Lewin - http://www.garethlewin.com "Facts are useless. You can use facts to prove anything that's even remotely true. Facts shmacts!" -- Homer Jay Simpson. -----Original Message----- From: Brett Bibby [mailto:res...@ga...] Sent: Tuesday, May 18, 2004 11:47 PM To: Gam...@li... Subject: [GD-Windows] C# scripting 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 ------------------------------------------------------- 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 ------------------------------------------------------- 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 ------------------------------------------------------- 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 |
From: Brett B. <res...@ga...> - 2004-05-20 00:48:56
|
Tom, is there a better list than this one to discuss the use of C# in = game development? Meanwhile.... 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? Brett ----- 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 > 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 > |
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 > |
From: Jon W. <hp...@mi...> - 2004-05-20 16:41:45
|
The current CLR doesn't appear to optimize floating-point math much at all, so no matter what the languate, it's unlikely to be well suitable for most 3D gaming applications. Cheers, / h+ -----Original Message----- From: gam...@li... [mailto:gam...@li...]On Behalf Of Brett Bibby Sent: Wednesday, May 19, 2004 6:58 PM To: gam...@li... Subject: Re: [GD-Windows] C# scripting 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 ----- 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? > > Meanwhile.... > > 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? > > Brett > > ----- Original Message ----- > From: "Tom Miller" <tm...@wi...> > To: <gam...@li...> > Sent: Thursday, May 20, 2004 2:36 AM > Subject: RE: [GD-Windows] C# scripting > > > > The upcoming update for the DirectX SDK includes a sample showing this > > exact functionality. > > > > -----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 > > > > 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. > > > > -Mitch > > > > -----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 > > > > Well, C# supports the microsoft scripting host stuff out of the box > > AFAIK, so Javascript, VBScript etc should 'just work' > > > > _________________________________________ > > Gareth Lewin - http://www.garethlewin.com > > > > "Facts are useless. You can use facts to prove anything that's even > > remotely true. Facts shmacts!" -- Homer Jay Simpson. > > > > -----Original Message----- > > From: Brett Bibby [mailto:res...@ga...] > > Sent: Tuesday, May 18, 2004 11:47 PM > > To: Gam...@li... > > Subject: [GD-Windows] C# scripting > > > > > > 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 > > > > > > ------------------------------------------------------- > > 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=ick > > _______________________________________________ > > Gamedevlists-windows mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > > > > > ------------------------------------------------------- > > 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=ick > > _______________________________________________ > > Gamedevlists-windows mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > Archives: > > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > > > ------------------------------------------------------- > > 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=ick > > _______________________________________________ > > Gamedevlists-windows mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > Archives: > > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > > > ------------------------------------------------------- > > 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Ìk > > _______________________________________________ > > Gamedevlists-windows mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > Archives: > > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id66&opÌk > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=ick _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5 |
From: Parveen K. <pk...@al...> - 2004-05-20 02:40:50
|
Brett Bibby wrote: > Tom, is there a better list than this one to discuss the use of C# in > game development? > > Meanwhile.... > > 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? > JIT? Isn't JScript.NET compiled down into native code? http://www.gotdotnet.com/team/jscript/ Pick a language: http://www.dotnetpowered.com/languages.aspx There's gotta be one that you like and will compile to native code if you need it to. -- PK |
From: tweety <mi...@sy...> - 2004-05-20 04:06:53
|
Actually it's not that big a deal... You just compile your thing and that's it... The api is very clear and if you do get stuck, there are TONS of examples out there (there is one project of mine on sf.net, too, if anyone's interested...) What I would like to see from ms is a full-featured 3d game in c#... With sources, part of the dx sdk. Just to see the "right" kind of coding to get the monster running decently in .net 1.1... On a side note (waaay ot), I'm really amused that people (me, too) are trying to execute tes arena on a high-end computer (I've got a xp2500+) and barely succeding... I can run far cry with no problems, and can't run arena :)) ---------------------------------- Peace and love, Tweety mi...@sy... - twe...@us... YahooID: tweety_04_01 > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...] On > Behalf Of Tom Miller > Sent: May 19, 2004 2:37 PM > To: gam...@li... > Subject: RE: [GD-Windows] C# scripting > > The upcoming update for the DirectX SDK includes a sample showing this > exact functionality. > > -----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 > > 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. > > -Mitch > > -----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 > > Well, C# supports the microsoft scripting host stuff out of the box > AFAIK, so Javascript, VBScript etc should 'just work' > > _________________________________________ > Gareth Lewin - http://www.garethlewin.com > > "Facts are useless. You can use facts to prove anything that's even > remotely true. Facts shmacts!" -- Homer Jay Simpson. > > -----Original Message----- > From: Brett Bibby [mailto:res...@ga...] > Sent: Tuesday, May 18, 2004 11:47 PM > To: Gam...@li... > Subject: [GD-Windows] C# scripting > > > 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 > > > ------------------------------------------------------- > 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=ick > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > > ------------------------------------------------------- > 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=ick > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > ------------------------------------------------------- > 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=ick > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > > > ------------------------------------------------------- > 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=ick > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_idU5 > |
From: Tom M. <tm...@wi...> - 2004-05-20 05:09:12
|
AFAIK, there isnt' a list dedicated to that subject yet.. I try to pay = attention to the newsgroups, etc, and all the mailing lists I'm aware = of.. As a general rule, I would rarely recommend rolling your own anything.. = I'm a big advocate of not re-inventing the wheel unless there's a viable = reason. With the upcoming Whidbey release, the performance of managed = code (either as a scripting language or as a full application) will be = much improved, and be the first step to be 'competitive' (using that = term loosely) with unmanaged code perf wise. Not that it isn't close = now, but there is a small perf hit currently, and many of these are = being addressed with whidbey, and areas that aren't will be addressed in = post whidbey releases. -----Original Message----- From: gam...@li... = [mailto:gam...@li...] On Behalf Of = Brett Bibby Sent: Wednesday, May 19, 2004 5:52 PM To: gam...@li... Subject: Re: [GD-Windows] C# scripting Tom, is there a better list than this one to discuss the use of C# in = game development? Meanwhile.... 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? Brett ----- Original Message ----- From: "Tom Miller" <tm...@wi...> To: <gam...@li...> Sent: Thursday, May 20, 2004 2:36 AM Subject: RE: [GD-Windows] C# scripting > 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 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. = Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id=8166&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 |
From: Paul B. <pa...@mi...> - 2004-05-20 17:04:41
|
FP math doesn't seem to be optimized in many scripting languages either. I suspect most people who are interested in scripting languages are acknowledging some amount of performance bleed. For those that are interested, there is an article that benchmarks numerical computing performance of the CLR using C# at http://msdn.microsoft.com/msdnmag/issues/04/03/ScientificC/=20 The performance isn't ideal but I suspect it is better than most scripting languages and should continue to improve. SciMark scores for various Java implementations: http://math.nist.gov/cgi-bin/ScimarkSummary Another paper talking about HPC and .NET & Java. http://www.sc-conference.org/sc2003/paperpdfs/pap251.pdf On the subject of JIT vs static-native, there is a paper on Marmot at http://research.microsoft.com/act/marmot.pdf. One could suspect these techniques could be applied to .NET=20 languages as well. It would be nice if there were more effective benchmarks for C# performance in the games domain but I am not sure what those would be. Paul > -----Original Message----- > From: gam...@li...=20 > [mailto:gam...@li...] On=20 > Behalf Of Jon Watte > Sent: Thursday, May 20, 2004 11:41 AM > To: gam...@li... > Subject: RE: [GD-Windows] C# scripting >=20 >=20 > The current CLR doesn't appear to optimize floating-point math much > at all, so no matter what the languate, it's unlikely to be=20 > well suitable > for most 3D gaming applications. >=20 > Cheers, >=20 > / h+ >=20 >=20 > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...]On Behalf Of > Brett Bibby > Sent: Wednesday, May 19, 2004 6:58 PM > To: gam...@li... > Subject: Re: [GD-Windows] C# scripting >=20 >=20 > I should clarify my question as I don't think I was clear. >=20 > It seems that JScript combined with JIT is an efficient=20 > solution. A fast > scripting language like Lua outperforms a traditional Javascript > implementation enough that it is worthwhile to use Lua for=20 > our intended use > in a realtime game. So I'm wondering if anybody could=20 > comment how C# using > JScript might stack up against a C++ app with embedded Lua in=20 > terms of raw > performance (Or any other language/script combo, my point=20 > being to benchmark > between native code and "managed" code). >=20 > Hmm... maybe I made it even more unclear? :-) >=20 >=20 > ----- Original Message ----- > From: "Brett Bibby" <res...@ga...> > To: <gam...@li...> > Sent: Thursday, May 20, 2004 8:52 AM > Subject: Re: [GD-Windows] C# scripting >=20 >=20 > > Tom, is there a better list than this one to discuss the=20 > use of C# in game > development? > > > > Meanwhile.... > > > > I know that C# can already support JScript out of the box,=20 > but coming from > our current PlayStation2 engine that uses Lua, it must be a=20 > magnitude slower > to use JScript inside a JIT environment isn't it? Would you recommend > developers to implement their own scripting solutions? > > > > Brett > > > > ----- Original Message ----- > > From: "Tom Miller" <tm...@wi...> > > To: <gam...@li...> > > Sent: Thursday, May 20, 2004 2:36 AM > > Subject: RE: [GD-Windows] C# scripting > > > > > > > The upcoming update for the DirectX SDK includes a sample=20 > showing this > > > exact functionality. > > > > > > -----Original Message----- > > > From: gam...@li... > > > [mailto:gam...@li...]=20 > On Behalf Of > > > Mitch Walker > > > Sent: Wednesday, May 19, 2004 9:48 AM > > > To: gam...@li... > > > Subject: RE: [GD-Windows] C# scripting > > > > > > You can also use the CLR to host code. You create a new=20 > 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=20 > compiler APIs as > > > well so you can compile the code that you want to host on=20 > the fly. This > > > would allow you to keep all of your scripts in file=20 > format, compile them > > > on start up and possibly detect changes and reload when=20 > applicable. If > > > you are writing managed code and need scripting type=20 > functionality, I > > > would definitely take a look at this option. > > > > > > -Mitch > > > > > > -----Original Message----- > > > From: gam...@li... > > > [mailto:gam...@li...]=20 > On Behalf Of > > > Lewin, Gareth > > > Sent: Wednesday, May 19, 2004 9:27 AM > > > To: gam...@li... > > > Subject: RE: [GD-Windows] C# scripting > > > > > > Well, C# supports the microsoft scripting host stuff out=20 > of the box > > > AFAIK, so Javascript, VBScript etc should 'just work' > > > > > > _________________________________________ > > > Gareth Lewin - http://www.garethlewin.com > > > > > > "Facts are useless. You can use facts to prove anything=20 > that's even > > > remotely true. Facts shmacts!" -- Homer Jay Simpson. > > > > > > -----Original Message----- > > > From: Brett Bibby [mailto:res...@ga...] > > > Sent: Tuesday, May 18, 2004 11:47 PM > > > To: Gam...@li... > > > Subject: [GD-Windows] C# scripting > > > > > > > > > Howdy. Does anybody know if there are any scripting=20 > languages that > > > directly support embedding into C#? At this point speed is not a > > > requirement, just doing some research. I know I can glue=20 > something like > > > Lua into it, but since it's unmanaged code it would be=20 > ugly. Thanks, > > > Brett > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: SourceForge.net=20 > Broadband Sign-up now > > > for SourceForge Broadband and get the fastest 6.0/768=20 > 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 > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: Oracle 10g > > Get certified on the hottest thing ever to hit the=20 > market... Oracle 10g. > > 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 > > >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market...=20 > Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id=8166&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: Oracle 10g > Get certified on the hottest thing ever to hit the market...=20 > Oracle 10g.=20 > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 >=20 |
From: Jon W. <hp...@mi...> - 2004-05-20 17:20:40
|
> It would be nice if there were more effective benchmarks > for C# performance in the games domain but I am not sure > what those would be. Maybe those would be more readily available if the licensing for the .NET runtime didn't explicitly forbid you from publiching benchmark numbers that Microsoft hasn't given its seal of approval to. Any technology that has to come with those kinds of heavy-handed tactics just screams "not ready for competition" to me. Maybe I'm just extra sensitive. Anyway, this was in the context of "why don't you write a whole game in C#" -- I agree that for typical scripting things, top-notch FP performance isn't necessary. Cheers, / h+ |
From: David N. <dno...@mi...> - 2004-05-20 17:30:22
|
Floating point will be much better in the next rev of the CLR. And it = was already comparable (on par) in shipped versions to the best Java = VMs. This said, currently the JIT compiler has constraints (time and space) = that a native compiler doesn't have, so don't expect complete parity. Some of my thoughts on managed code for games: http://www.xplsv.com/blogs/devdiary/2003_07_01_archive.html#1058658127517= 80370 Some comments on the code quality of Quake 2 (software rendering) = recompiled to run in the CLR: http://www.xplsv.com/blogs/devdiary/2003_07_01_archive.html#1058039602152= 38840 David -----Original Message----- From: gam...@li... = [mailto:gam...@li...] On Behalf Of = Jon Watte Sent: Thursday, May 20, 2004 9:41 AM To: gam...@li... Subject: RE: [GD-Windows] C# scripting The current CLR doesn't appear to optimize floating-point math much at all, so no matter what the languate, it's unlikely to be well = suitable for most 3D gaming applications. Cheers, / h+ -----Original Message----- From: gam...@li... [mailto:gam...@li...]On Behalf Of Brett Bibby Sent: Wednesday, May 19, 2004 6:58 PM To: gam...@li... Subject: Re: [GD-Windows] C# scripting 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 ----- 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? > > Meanwhile.... > > 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? > > Brett > > ----- Original Message ----- > From: "Tom Miller" <tm...@wi...> > To: <gam...@li...> > Sent: Thursday, May 20, 2004 2:36 AM > Subject: RE: [GD-Windows] C# scripting > > > > The upcoming update for the DirectX SDK includes a sample showing = this > > exact functionality. > > > > -----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 > > > > 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. > > > > -Mitch > > > > -----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 > > > > Well, C# supports the microsoft scripting host stuff out of the box > > AFAIK, so Javascript, VBScript etc should 'just work' > > > > _________________________________________ > > Gareth Lewin - http://www.garethlewin.com > > > > "Facts are useless. You can use facts to prove anything that's even > > remotely true. Facts shmacts!" -- Homer Jay Simpson. > > > > -----Original Message----- > > From: Brett Bibby [mailto:res...@ga...] > > Sent: Tuesday, May 18, 2004 11:47 PM > > To: Gam...@li... > > Subject: [GD-Windows] C# scripting > > > > > > 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 > > > > > > ------------------------------------------------------- > > 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 > > > > > > > > ------------------------------------------------------- > > 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 > > > > > > ------------------------------------------------------- > > 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 > > > > > > ------------------------------------------------------- > > 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 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle = 10g. > 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 > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id=8166&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 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. = Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 |