Last year I made a rule for myself that I wouldn't write any new classes in personal projects (using classes from external libs and stdlib was still fine), and it was a great learning experience.

This year I'm considering making all my personal projects C only. Anyone out there working in primarily C? I'd love some recommendations for a decent math lib, since right now I'm using GLM (which is super template heavy...)


Those are the starting points i use.

But I don't use any library I can't just "' without a build system, so you probably aren't as extreme and so have more options. :)

I don't know if it's any good and know nothing about it but i saw this one when i was looking for similar recently

@rlyeh haven't tried anything yet - wrapping up my current small c++ project before transitioning to C for the year - have you tried it?

@dougbinks I like the simplicity - my personal projects definitely don't need an industrial strength solution. I'll add it to the list of things to try out. Thanks!

@khalladay I started writing more C a few months ago and enjoy it very much, for C++ I'm also using C++ but for my C code I'm using HandmadeMath.h (see my C samples here:, HandmadeMath itself is here:

@floooh Thanks! I'll give it a shot - I'm a bit skeptical of the handmade community's stuff (mostly because my perception is that it's mostly made up of newer devs, which may be incorrect), but if you're using it and liking it, that's enough of a recommendation for me :)

Sign in to participate in the conversation
Gamedev Mastodon

Game development! Discussions about game development and related fields, and/or by game developers and related professions.