473,396 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Collections Library for C

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.
Nov 14 '05 #1
10 1675
jo*****@example.com wrote:

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.

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!

Nov 14 '05 #2
jo*****@example.com 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.)

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Nov 14 '05 #3
In article <41***********************@newsreader.visi.com>,
jo*****@example.com wrote:
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?
Nov 14 '05 #4
jo*****@example.com wrote:
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.
Nov 14 '05 #5
jacob navia wrote:
jo*****@example.com wrote:
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.

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

--
Nils O. Selåsdal
www.utelsystems.com
Nov 14 '05 #6
Nils O. Selåsdal wrote:
jacob navia wrote:
jo*****@example.com wrote:
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.


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!!!

Nov 14 '05 #7
CBFalconer <cb********@yahoo.com> wrote:
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!
Nov 14 '05 #8
Christopher Benson-Manica <at***@nospam.cyberspace.org> wrote:
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.)


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.
Nov 14 '05 #9
jacob navia <ja***@jacob.remcomp.fr> wrote:
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.


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.
Nov 14 '05 #10
jo*****@example.com wrote:
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

Nov 14 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Arnaud Debaene | last post by:
Hello all, One area where the .Net framework 1.1 is really poor is Collections : We've got very few choice concerning the containers and their characteristics (for example, ArrayList, Queue and...
6
by: Doug Dew | last post by:
This won't compile: using IEnumerable<T> = System.Collections.Generic.IEnumerable<T>; namespace MyNamespace { public class MyClass<T> : IEnumerable<T> { // Appropriate stuff here }
1
by: Fabrizio | last post by:
Hi I'm Fabrizio and I come from Turin in Italy. I'm a new user of C# until now I program only in Java or sometimes in C. I've problem because the C# collections are different and I don't...
1
by: Atif Jalal | last post by:
Need help in using collections. Any links or samples appreciated. I am trying to have collections for objects. I have an object which has another object has its data member which in turn has...
4
by: John Dalberg | last post by:
I noticed the starterkits timetracker & issue tracker load data from a database into custom collections (arraylists) which bind to a datagrid. What are the advantages of using custom collections...
11
by: CMM | last post by:
First let me say that maybe I'm having a "duh" moment and perhaps I'm missing something... but it seems to me that no one thing in the System.Collections namespace (even in .NET 2.0) even comes...
3
by: Godspeed | last post by:
I have started writing a new collections library based on set theory as per Spivey's Z notation. I have put the library on SourceForge. It is currently in its infancy and it will be expanded fairly...
16
by: 3rdshiftcoder | last post by:
hi- where would someone find things like lists, sets, map classes like a hash map or tree map. not specifically those but in general is there a book section that deals with it? in java you can...
3
by: Marco Shaw | last post by:
I've got some C# code to create a custom PowerShell cmdlet with these statements: .... using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; .... ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.