views:

236

answers:

1

Hello all,

I'm about to start a new project in C. I'm currently investigating a library for C data structures. I've found plenty of them. But which one would you recommend? I'm currently considering to use gdsl or glib .

The important properties of a library for me is:

  • Robustness and reliability of the code.
  • Documentation.
  • Readability and Usability.
  • Performance.
+6  A: 

Don't ignore licensing. There are significant license differences between gdsl and glib. gdsl is GPL, and glib is LGPL. As far as I understand things, and IANAL, this restricts the use of gdsl to GPL licensed works, whereas glib can be linked to works that use other licenses (even those that don't require source availability )

cms
Thanx cms for highlighting this important issue.
systemsfault
I also believe glib is more widely used, more stable and more complete. On performance, at least the binary search tree implementations do not differ too much. In all, glib is recommended.