Archived

This topic is now archived and is closed to further replies.

wyrd

A passing thought.. .NET + Xbox 2

Recommended Posts

The other day while I was randomly thinking about games + programming, I started to wonder... what if Microsoft put the .NET framework into the Xbox 2? My take: If actually used to develop a game or two for commercial use, and the games were actually of top quality, it could start a brush fire in the way people view commercial game development as a C/C++ only arena.

Share this post


Link to post
Share on other sites
It''s not likely though. Consider that on a console, memory is typically the premium resource. For games that are regulated and not user-scriptable, putting a VM into the game would be a horrible waste.

I expect .NET code could be written for games (even now) but they''ll be compiled native before being run on the hardware. The bennies of .NET don''t really apply, aside from RAD.

I like pie.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
In most cases the .NET GC handles memory better and more efficient then hand-written C/C++ ones. Compiling a .NET app only reduces load time for the intial start up, and by doing this it also takes away a lot of JIT optimizations. I don''t see how that has to do with memory management, since even precompiled .NET apps still require the .NET framework to be installed on the target machine.

Share this post


Link to post
Share on other sites
Actually it doesn''t really work that way - from what I know, you can already use the .net frameworks if you want - the XBox itself has only a very small kernel - anything else comes from the DVD player.

"I woke up sweating and clutching my pillow. Thankfully the powerful and reassuring visage of Optimus Prime staring back at me from my pillow case served to ease my frayed nerves. Like the giant robotic father I never had he always knows just what to say" - Gabe, Penny-Arcade

Alexandre Moura

Share this post


Link to post
Share on other sites
If you EVER want to do scripting in a game and can use .NET, DON''T WRITE YOUR OWN. Use the built in script engines (JScript.NET or VB.NET). I tell you, JIT''d scripts are the best thing ever, and there''s nothing like automatically linking into any .NET supporting code through your code.



Gamedev for learning.
libGDN for putting it all together.
An opensource, cross platform, cross API game development library.

Share this post


Link to post
Share on other sites