The problem is that the opaque types force me to write an impure API, which is not a problem with other languages because they are all impure.:o
innefficient code (mallocs behind the scenes)Is it really bad? There are mallocs in CSFML too.
(ugly) C
C++ is also a horrible thing. No-one should use it to create a user app. C/C++ are fine to make low-level things. SFML does low-level things by interfacing with the windowing system. When you create a high level application you should use a high-level language. There are several high-level languages with very good performances. There are even some that provide the same performances than C/C++. Programming with a high level language makes you write things more easily, quickly, and with less bugs. The result will be easier to maintain, contributors will contribute more easily with a higher level language.Opinions, opinions there are many and everyone claims to have the truth.
C is ugly, yes that's true, C++ is not better, it is a very complicated programming language. A lot of people around even say often that this is one of the most complecated programming language.
C++ is also a horrible thing. ect. ect...Then what are you doing here, in place where c++ coders gather? Go to forum of your chosen multimedia library in your chosen langauge if c++ doesn't suit your needs.
And I can only mark this again in bold: this is my opinion.I'm sorry but he's right, your "(ugly) C" was not referring to a specific context, so it really looked like a troll -- like "C is generally ugly". Which is of course wrong, and totally out of topic. I know you didn't want to start trolling, but this comment was a little bit too much ;)
I think this is what ever reading this thread is asking "Why would you want to use a C++ or even C library for haskell?"
I just don't see a point in doing something like that. sure sfml is awesome but you can either adapt to it or find something else.