Re: [Chicken-users] [ANN] BerkeleyDB binding

2011-10-17 Thread Alaric Snell-Pym
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/15/2011 12:56 AM, Thomas Chust wrote:
 Hello,

 during the past days I've written a small binding for the BerkelyDB
 library. You can find the code here:

   http://www.chust.org/fossils/berkeley-db

 You get a persistent key value store backed by files with an interface
 loosely resembling that of a SRFI-69 hash table. There is transaction
 support. The binding takes care of platform independent serialization
 of Scheme values.

Good stuff, Thomas! I've done a lot of work with BDB (from C) in the
past. It's certainly a useful tool to have around!


 Ciao,
 Thomas


ABS


- --
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6cAHEACgkQRgz/WHNxCGpmSACeKid8T71BrywaEq7SEgaexCdS
xpgAnRRh0jzDz0CS+tp68OsCz0n4D6RV
=/X5V
-END PGP SIGNATURE-

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] [ANN] BerkeleyDB binding

2011-10-17 Thread Andy Bennett
Hi,

 during the past days I've written a small binding for the BerkelyDB
 library. You can find the code here:
 
   http://www.chust.org/fossils/berkeley-db
 
 You get a persistent key value store backed by files with an interface
 loosely resembling that of a SRFI-69 hash table. There is transaction
 support. The binding takes care of platform independent serialization
 of Scheme values.

Wow! Nice!

I see the API contains a good list of BDB options... and luckily they
seem far simpler to understand that the plethora of combinations
possible in C.

:-)





Regards,
@ndy

-- 
andy...@ashurst.eu.org
http://www.ashurst.eu.org/
0x7EBA75FF


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] [ANN] BerkeleyDB binding

2011-10-17 Thread Andy Bennett
Hi,

 during the past days I've written a small binding for the BerkelyDB
 library. You can find the code here:
 
   http://www.chust.org/fossils/berkeley-db
 
 You get a persistent key value store backed by files with an interface
 loosely resembling that of a SRFI-69 hash table. There is transaction
 support. The binding takes care of platform independent serialization
 of Scheme values.

How does licensing of this work?
I understand that BDB is available under the GPL for certain uses. Does
your work get infected with that or is it entirely stand-alone?
What happens if I have BDB under a commercial license? (Which, at work,
I do.)

http://www.chust.org/fossils/berkeley-db/doc/trunk/LICENSE.txt



Many thanks.


Regards,
@ndy

-- 
andy...@ashurst.eu.org
http://www.ashurst.eu.org/
0x7EBA75FF


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] [ANN] BerkeleyDB binding

2011-10-17 Thread Thomas Chust
2011/10/17 Andy Bennett andy...@ashurst.eu.org:
 [...]
 during the past days I've written a small binding for the BerkelyDB
 library.
 [...]
 How does licensing of this work?
 I understand that BDB is available under the GPL for certain uses. Does
 your work get infected with that or is it entirely stand-alone?
 What happens if I have BDB under a commercial license? (Which, at work,
 I do.)
 [...]

Hello Andy,

I have placed my code under a BSD style license, which gives you a lot
of freedom to use it. It's not my intent to prevent the usage of my
code in a commercial context. But of course I can only define the
licensing terms for the software I have written myself, not for its
external dependencies.

As far as I can tell, BerkeleyDB is not licensed under GPL. Its
standard license does require that you release the source code of
software using BerkeleyDB, but unlike GPL it doesn't prescribe the
precise licensing terms of such code. [1]

Since I distribute my binding code in source form anyway, I don't see
any problems here.

If you use my CHICKEN binding for BerkeleyDB you will have to observe
the licensing terms of both the binding code and the original
library. The license of the binding code does not pose any
restrictions on you concerning use in commercial and/or closed source
context, other than requiring you to preserve the copyright and
license note.

So while the standard license of BerkeleyDB apparently prescribes open
sources for anything using it, iff you have a special license of
BerkeleyDB allowing you to use it in a closed source project, I don't
see any reason why you shouldn't be able to also use it through my
binding in that context.

However, I'm not an expert on intellectual property law, so please
consult someone who is, if you want reliable legal advice ;-)

Ciao,
Thomas


[1] 
http://www.oracle.com/technetwork/database/berkeleydb/downloads/oslicense-093458.html


-- 
When C++ is your hammer, every problem looks like your thumb.

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users