3 ms·
A little bit offtopic: I am somebody who has programmed in memory managed programming languages for all of my career. (With exception of Obj-C for a couple of
by pritambarhate 9y ago
A little bit offtopic:
I am somebody who has programmed in memory managed programming languages for all of my career. (With exception of Obj-C for a couple of years before ARC)
I recently wanted to try my hand at C. But was surprised that there isn't a Boost like lib for C.
What is a good generics/data structures library for C? Glib is one option. But it is supposed to be hard to use. Apache Portable Runtime seems to be another option. I read somewhere that its memory pools were considered to be a bad design and were supposed to be removed in the newer implementation. But the current stable version seems to use them.
- lathiat 9y agoglib seems to be a common go-to even for otherwise non-gnome projects
- marktangotango 9y agoThese are the two options I know of as well. Glib is relatively approachable imo, I also think the docs are better than apr, and there are more examples around. In the end I was interested in writing server apps, so I just used go.
- emmelaich 9y agoThere's also NSPR (Netscape Portable Runtime). Still maintained after all these years. https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NS...