RE: C# scripting

"Jon Watte" <[email protected]>
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
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: [email protected]
[mailto:[email protected]]On Behalf Of
Brett Bibby
Sent: Wednesday, May 19, 2004 6:58 PM
To: [email protected]
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" <[email protected]>
To: <[email protected]>
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" <[email protected]>
> To: <[email protected]>
> 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: [email protected]
> > [mailto:[email protected]] On Behalf Of
> > Mitch Walker
> > Sent: Wednesday, May 19, 2004 9:48 AM
> > To: [email protected]
> > 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: [email protected]
> > [mailto:[email protected]] On Behalf Of
> > Lewin, Gareth
> > Sent: Wednesday, May 19, 2004 9:27 AM
> > To: [email protected]
> > 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:[email protected]]
> > Sent: Tuesday, May 18, 2004 11:47 PM
> > To: [email protected]
> > 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
> > [email protected]
> > 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
> > [email protected]
> > 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
> > [email protected]
> > 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
> > [email protected]
> > 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66&opÌk
> _______________________________________________
> Gamedevlists-windows mailing list
> [email protected]
> 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66&op=ick
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
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=3149&alloc_id=8166&op=click
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.