News for hackers. Stuff that matters.
Re:Git as a NoSQL datastore by silentbicycle on Monday November 22, 2010 @01:35AM (#1928918)
Ah, via Ruby. RUBY?!??! Ah. Delightful.

YECCH

So, uh, can't we just make an efficient, well-designed, C library for accessing those data structures, write BSD-licensed wrappers as consenting adults, and get on with our lives? I'm speechless.

Is writing an append-only log data-structure system really that hard? Ok, then.

Re:Git as a NoSQL datastore by holman on Monday November 22, 2010 @01:47AM (#1928947)
We use Grit extensively all over GitHub. It works quite well. I've yet to have a seizure from it.

At the same time, we're also funding work on libgit2, which is an efficient, well-designed C library for accessing those data structures. There's also wrappers for consenting adults. http://libgit2.github.com

Re:Git as a NoSQL datastore by silentbicycle on Monday November 22, 2010 @01:59AM (#1928971)
Thanks for your informative response. Are you interested in a Lua wrapper?
Re:Git as a NoSQL datastore by pygy_ on Monday November 22, 2010 @06:21AM (#1929424)
I would love to see this happening. I could then port gitmodel on top of your lib and get a NoSQL DB, easy to sync with a single user desktop app for the iOS platform (in conjunction with Wax).
Re:Git as a NoSQL datastore by silentbicycle on Monday November 22, 2010 @05:48PM (#1931605)
I may get to it this weekend. I'll keep you posted.
Re:Git as a NoSQL datastore by technoweenie on Monday November 22, 2010 @01:46AM (#1928944)
Re:Git as a NoSQL datastore by aditya on Monday November 22, 2010 @01:47AM (#1928949)
What's stopping you?
Re:Git as a NoSQL datastore by silentbicycle on Monday November 22, 2010 @09:56AM (#1929953)
Git itself works fine, for my purposes. If I wrote a C library for managing git's data structures, it would basically be out of spite. I may make a Lua wrapper for libgit2, though - it's more what I had in mind (though it's too bad it's GPL'd).

I have a library for managing distributed graphs on top of an append-only log file, but it's got different design trade-offs than git does - It's for a specific C/Lua project, and the semantics of the data don't match git's.

Re:Git as a NoSQL datastore by asb on Wednesday November 24, 2010 @08:15AM (#1937224)
libgit2 is GPLed, but importantly also has a libgcc-style exception.