Re:Ask HN: If C++ is so bad, what should game developers use?
by zentux on Tuesday October 20, 2009 @06:41AM
(#892153)
I absolutely agree !!
I hate C++ too, but as you said , there is no real alternative for it. Mixing C and python is a good idea ,but real world applications in my area (computer vision) use C++ widely ...
Re:Ask HN: If C++ is so bad, what should game developers use?
by JabavuAdams on Sunday October 18, 2009 @09:48PM
(#889255)
yay! Python + PyOpenCL + ... is on my shortlist for the next project.
D is a dream to program in. The templates, especially, are so much nicer than C++ that I hate coding in C++ for a few days after doing D. OTOH, it's the same thing wrt runtime. Why spend a few days getting other people's crappy wrapper code working, FOR EACH LIBRARY, when you already know how to use, debug, and optimize those libraries for C/C++. It wastes a lot of time!
Python is excellent if some good soul has already written a library that does exactly what you need (in C or C++, obviously). The combination of numpy+PyOpenGL+PyCUDA is great for certain kinds of research projects (I have written a volume renderer in it) but probably far from commercial usability.
Haskell has great potential, but the community is too small and too academic to produce the necessary libraries and tools (which is a lot of work with minimal scientific content). The key problem is the absence of an industrial-strength array facility - there are many kinds of arrays in Haskell, all somewhat clunky and incomplete.
D might be a contender, but last time I looked the tools seemed very basic and it did not even support 64-bit systems.