hayk0510 wrote:The head guy of the gears of war team was talking about a switch from C++ to Haskell in the future of gaming.. I don't have the link now, but I can post it if you want.
I want it. Could you post the link?
Haskell is a cool language, but I don't know if I'd want to use it for game programming. Games have a need to keep state, and in my experience Haskell isn't really the best choice for that kind of thing. Although if it's to use Haskell's concurrency features, like STM, then I suppose it would make sense.
I'm partial to Clojure, but I suppose most game developers don't want to use a language that runs on the JVM, since they need them to run on consoles.
Anyway, I'd like to see what they had to say about using Haskell for game development.
And in any case, switching to Haskell would almost certainly cause games to be more stable
.
avansc wrote:The C programming language is TINY compared to languages like C#.
Yes, C is tiny compared to C#, but C++ is massive. There is a big difference between C and C++.
(BTW, the following isn't aimed at you, avansc. It's just my opinion of C++.)
C is a nice, clean little language, while C++ is huge and complicated. If you don't believe me, when should you use a virtual destructor?
Most people only use a subset of C++. The problem with this is that it's usually not the same subset that other people are using.
Also, C++ is not portable. Different C++ compilers have all kinds of incompatibilities with each other, which is in large part because C++'s grammar is so complicated (it's basically
unparsable).
Another problem with a complicated syntax is that it is difficult to make tools for working with the language: editors, syntax highlighters, language translators, etc.
Not to mention C++ is the only language I know of where link errors are a common problem.
It's my opinion that C++ is a poorly designed language.
I don't mean to offend anyone who likes to program in C++, it's just my opinion.