Re:The Next Mainstream Programming Language: A Game Develope...
by passerby33 on Tuesday December 28, 2010 @08:25AM
(#2045383)
You can program Xbox 360 games in F# (a Microsoft language that's based on ML, and is similar to ocaml) using XNA. A few very small indie games have been written that way.
People who write a game in ocaml tend not to write a second game in ocaml. They tend to go back to C/C++. To me this indicates that ocaml is not a good fit for game development.
I think C's low-level hackability and integration with assembler is hard to beat for max performance. In other cases, a scripting language is more agile. And correctness isn't important in games (if it seems right, it is right). So ocaml's impressive attributes don't win any of these battles.
With xbox having 3 cores and ps3 having 8, a better concurrency language has an opportunity to have an impact. Maybe in the next nextgen... (if launched today, moore predicts x8 as many cores: 24...64).