Collections Library for C

J

johndoe

Are there any *good* and *free* (as in beer) collections libraries out
there for C? I'm looking for basic things like hash maps, linked
lists, vectors / array lists, maybe even red/black trees. I would
like to specifically avoid code licensed under GPL or LGPL since the
cost is too high. Would prefer BSD licensed or public domain.

Thank you in advance.
 
C

CBFalconer

Are there any *good* and *free* (as in beer) collections libraries out
there for C? I'm looking for basic things like hash maps, linked
lists, vectors / array lists, maybe even red/black trees. I would
like to specifically avoid code licensed under GPL or LGPL since the
cost is too high. Would prefer BSD licensed or public domain.

How can it be too high? It is free. Cost only appears when you
want to use it in a product for sale, and for that you can often
negotiate your own license from the copyright holder. Pick up the
phone. You know exactly what you are buying.

If you are worrying about exposing your own code, then the same
cure applies. Negotiate a license that doesn't require that
exposure.

That said, you can find a hashtable library at:

<http://cbfalconer.home.att.net/download/hashlib.zip>

and other things, some of which I have put in the public domain.
 
C

Christopher Benson-Manica

(e-mail address removed) spoke thus:
Are there any *good* and *free* (as in beer) collections libraries out
there for C? I'm looking for basic things like hash maps, linked
lists, vectors / array lists, maybe even red/black trees. I would
like to specifically avoid code licensed under GPL or LGPL since the
cost is too high. Would prefer BSD licensed or public domain.

Well, there's always the C++ standard template library ;)

(Even if you had specified your implementation, your question doesn't
really belong here:

http://www.ungerhu.com/jxh/clc.welcome.txt
http://www.eskimo.com/~scs/C-faq/top.html
http://benpfaff.org/writings/clc/off-topic.html

In the meantime, Google is your friend.)
 
C

Christian Bau

Are there any *good* and *free* (as in beer) collections libraries out
there for C? I'm looking for basic things like hash maps, linked
lists, vectors / array lists, maybe even red/black trees. I would
like to specifically avoid code licensed under GPL or LGPL since the
cost is too high. Would prefer BSD licensed or public domain.

Could you explain to me why the "cost" of the LGPL license would be too
high?
 
J

jacob navia

Are there any *good* and *free* (as in beer) collections libraries out
there for C? I'm looking for basic things like hash maps, linked
lists, vectors / array lists, maybe even red/black trees. I would
like to specifically avoid code licensed under GPL or LGPL since the
cost is too high. Would prefer BSD licensed or public domain.

Thank you in advance.

Dear newsgroup:
I want to profit from the work of others, but I do not want to
contribute anything. Neither money, nor even with the disclosure
of my source code.

Of course "my* software will be sold with the highest possible
price-tag, so GPL/LGPL are useless.

Thanks in advance for your stupidity.
 
?

=?ISO-8859-1?Q?=22Nils_O=2E_Sel=E5sdal=22?=

jacob said:
Dear newsgroup:
I want to profit from the work of others, but I do not want to
contribute anything. Neither money, nor even with the disclosure
of my source code.

Of course "my* software will be sold with the highest possible
price-tag, so GPL/LGPL are useless.
Whats wrong with that ? Many OSS licenses are made for that,
e.g. BSD/MIT/LGPL licenses.
 
J

jacob navia

Nils said:
Whats wrong with that ? Many OSS licenses are made for that,
e.g. BSD/MIT/LGPL licenses.

There is nothing wrong with using others. I just do not feel that
I should contribute to that to avoid this guy the work of a google
search.

Not only he wants everything for free, but he doesn't want
even to spend time searching for it!!!
 
J

johndoe

CBFalconer said:
How can it be too high? It is free. Cost only appears when you
want to use it in a product for sale, and for that you can often
negotiate your own license from the copyright holder. Pick up the
phone. You know exactly what you are buying.

If you are worrying about exposing your own code, then the same
cure applies. Negotiate a license that doesn't require that
exposure.

I'm not concerned with exposing my own code. I just have a
fundamental disagreement with the philosophy of the Free Software
Foundation and the GPL and LGPL licenses. I'd rather leave it at that
and not discuss it further since Usenet has already suffered too many
of these kinds of discussions.
That said, you can find a hashtable library at:

<http://cbfalconer.home.att.net/download/hashlib.zip>

and other things, some of which I have put in the public domain.

Thank you!
 
J

johndoe

Christopher Benson-Manica said:
Well, there's always the C++ standard template library ;)

(Even if you had specified your implementation, your question doesn't
really belong here:

http://www.ungerhu.com/jxh/clc.welcome.txt
http://www.eskimo.com/~scs/C-faq/top.html
http://benpfaff.org/writings/clc/off-topic.html

In the meantime, Google is your friend.)

I didn't intend to post an off topic question; I apologize. I really
did think this was the appropriate newsgroup for the question. I'll
follow the links you kindly supplied and try to find a more
appropriate group to ask.
 
J

johndoe

jacob navia said:
Dear newsgroup:
I want to profit from the work of others, but I do not want to
contribute anything. Neither money, nor even with the disclosure
of my source code.

Of course "my* software will be sold with the highest possible
price-tag, so GPL/LGPL are useless.

Thanks in advance for your stupidity.

I wanted to know if a *good* and *free* library already met those
requirements before I embarked on such a project myself. If nothing
already existed that met those requirements, I was going to make my
code freely available under the BSD license (after it was reasonably
complete, of course). My request wasn't because I planned to include
such a library into one of my own proprietary projects.

I usually enjoy reading your posts, Jacob. I'm severely dissapointed
you decided to jump to conclusions and express such offensiveness and
hostility. I'm sorry to say my respect for you has dropped a few
notches, though I hope your unwarranted and extreme attack was just
because you were having a bad day.

The reason I asked instead of just relying on Google results is
because comp.lang.c is frequented by some true experts whose opinions
I felt would be more valuable than the results I'd get from a simple
Google search. A "comp.lang.c stamp of approval", as it were.
 
J

jacob navia

I wanted to know if a *good* and *free* library already met those
requirements before I embarked on such a project myself. If nothing
already existed that met those requirements, I was going to make my
code freely available under the BSD license (after it was reasonably
complete, of course). My request wasn't because I planned to include
such a library into one of my own proprietary projects.

I am very sorry. You are right, I jumped into conclusions. To my defense
I can't say anything else but the fact that I receive many of those
"requests" a day, usually asking for free maintenance, free source code,
whatever.

Again, my apologies for my previous post.

jacob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,148
Messages
2,570,838
Members
47,385
Latest member
Joneswilliam01

Latest Threads

Top