Home > Coding, hamsterdb, Libraries > hamsterdb: release 0.4.0

hamsterdb: release 0.4.0

February 4th, 2007

After about 5 weeks of development (and 3 weeks of vacation), release 0.4.0 is ready!

This release features some minor bugfixes, and the implementation of database cursors. You can use cursors to bi-directionally iterate over your database, and to insert, erase or replace entries.

Cursors are very fast, especially the iterating and “move to next/previous element” are very cheap operations.

To see cursors in action, i have added two small example programs.

  • db2.c Copies one database into another; you can also use this to copy data from/to in-memory-databases
  • db3.c Demonstrates how to sort data with hamsterdb; reads text from stdin, breaks it up into words and inserts all words in the database. Afterwards, the words are printed in sorted order

The already existing sample is here.

See the CHANGELOG for a detailled list of changes.

The newest hamsterdb version can be downloaded here:
http://www.crupp.de/dl/hamsterdb-0.4.0.tar.gz.

chris Coding, hamsterdb, Libraries

  1. February 4th, 2007 at 22:03 | #1

    Interesting to see a new lightweight DB engine. I can’t see any info on your site, other than the Blog.

    eg.
    1) Is there any documentation.
    2) What are the features and limits.
    3) Is there an overview of the DB engine.
    4) Does it work in Windows.
    5) Are there any plans to enable it to be used in commercial applications.

    Thanks.

  2. February 5th, 2007 at 11:13 | #2

    Neville,

    thank you for your comment. About documentation: currently, there’s only the commented header file and three small examples. But i am currently working on a webpage with tutorials, a better documentation, FAQ etc. I guess i’m done in 2 or 3 weeks.

    Also, i’m finishing the port to Win32 and Win64 platforms (and maybe Darwin and Linux on PowerPC). The Windows port has highest priority, and i hope that i can release it in 1 or 2 weeks.

    I have plans for dual-licensing and selling a commercial version, but those plans are not yet very concrete.

  1. No trackbacks yet.