Git Product home page Git Product logo

aodbm's People

Contributors

danielwaterworth avatar michaelchisari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aodbm's Issues

make check fails with missing check.h

Running 'make check' fails because of a missing check.h header:

$ make check
gcc aodbm.c aodbm_data.c aodbm_rope.c aodbm_internal.c aodbm_rwlock.c aodbm_stack.c aodbm_hash.c aodbm_list.c aodbm_changeset.c -c -I./ -D_GNU_SOURCE -g -fPIC -lpthread -D_FILE_OFFSET_BITS=64
ar -cq libaodbm.a aodbm.o aodbm_data.o aodbm_rope.o aodbm_internal.o aodbm_rwlock.o aodbm_stack.o aodbm_hash.o aodbm_list.o aodbm_changeset.o
gcc aodbm.o aodbm_data.o aodbm_rope.o aodbm_internal.o aodbm_rwlock.o aodbm_stack.o aodbm_hash.o aodbm_list.o aodbm_changeset.o -shared -o libaodbm.so -g -fPIC -lpthread -D_FILE_OFFSET_BITS=64
gcc c_tests/hash_test.c c_tests/data_test.c c_tests/rope_test.c c_tests/stack_test.c c_tests/rwlock_test.c c_tests/list_test.c c_tests/changeset_test.c aodbm_test.c libaodbm.a -o run_c_tests -g -fPIC -lpthread -D_FILE_OFFSET_BITS=64 -lcheck
-lpthread -I./c_tests/ -I./
In file included from c_tests/hash_test.c:20:0:
c_tests/hash_test.h:20:19: fatal error: check.h: No such file or directory
compilation terminated.
... and a bunch of similar errors

Project activity?

This is a fantastic looking project. I actually started writing my own append-only, copy-on-write B+Tree implementation in straight C before I saw this.

I see that this project is "deprecated". Why has it been deprecated and what has it been deprecated by?

I want an append-only B+Tree with ACID semantics written in C for several reasons:

Firstly, the small footprint. The minimal begin, get, set, iterate, commit and rollback functions will likely be smaller than alternatives, such as SQLite (despite being a fantastic product).

Secondly, portability. I'd like a library that can be used on Linux, BSD, Windows, iOS and Android. Straight C is the best way to allow this.

Thirdly, ACID transactions allow a manual implementation of secondary indexes.

Fourthly, append-only (despite providing MVCC capabilities) also allows quick replication: quickly downloading the latest changes (from the end of the file) not only makes backups quicker, it also allows you to more quickly download the "production database" onto your development machine to diagnose issues.

I sincerely hope this project can be made active again. I look forward to hearing from you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.