30 ms·
So what are you currently making with Haskell? And is there any game engine or libs that we should be using?
by Mikeb85 4y ago
So what are you currently making with Haskell? And is there any game engine or libs that we should be using?
- whateveracct 4y agoThere aren't _really_ any common engines, but the libraries are there. Most people make their own "engine," which makes sense because the way people think is so diverse. There's low-level graphics libraries for OpenGL and Vulkan (two different libraries for each actually). There are also some higher level graphics libraries like GPipe. apecs is an excellent ECS library and probably the biggest commonality between devs. linear is a great linear algebra library by kmett. Haskell also has a great C FFI so any C library is fair game. You can honestly just do C-style gamedev in Haskell if you want. Although I'd recommend apecs on top for sure. And there's all the same libraries people use for other stuff. All the abstractions you learn doing webdev or writing compilers or the other normal Haskell stuff still apply. It's cool to see how gamedev concepts fit into the typeclassopedia. Overall, Haskell gamedev isn't easy but it is fun and I wouldn't even bother spending my time doing it if the Haskell factor wasn't involved.