Programming languages: C# versus F#, building AI and Physics

MagazineHorrorTales0371

There are two computer languages that can be easily be used on the XBox 360: C# and F#

In game design, and certainly shared source games like MechCommander are a great way to investigate the architecture of a professionally designed game. 

Dreamspark gives students access to the Game Studio 3.0 resource that allows you to transfer games you designed on your PC to your XBox 360 and play them with your friends or even sell them on Community Games.  C# is a really good deal, you can design and build cool games using only C#.

So why would you use F# to build games?  F# is different from C#, F# is designed to support scientific and engineering.  With games, you might find it easier to do the physics of a game if you use F# rather than C#.  C# would support the view and perform control of the application, but in some cases the physics programming is simpler if you use a language like F#.

These are the kinds of things I think about.  Maybe I should lighten up.  Naw.

Ok, I think that we will start to use F# to build Finite State Machines that can be consumed by programmers.

Technorati Tags: XNA,F#,C#,programming languages,functional Languages