Looking for an open-source flatfile/xml database C++ library [closed]
Asked Answered
M

4

9

I'm looking for a light-weight database library that I can compile into a C++ application.

Does any such exist?

Messinger answered 24/2, 2009 at 12:45 Comment(0)
A
2

For pure XML embedded database you might want to peek at Oracle Berkeley DB XML.

Ambala answered 24/2, 2009 at 12:53 Comment(1)
This appears to be exactly what I need. Thank you.Messinger
T
11

SQLite. Not flat-file, but it is file based, can be easily embedded in apps.

Trammell answered 24/2, 2009 at 12:50 Comment(1)
Thanks for the suggestion :) . SQLite is clearly the most popular choice on stack overflow :P ... +1Messinger
A
2

For pure XML embedded database you might want to peek at Oracle Berkeley DB XML.

Ambala answered 24/2, 2009 at 12:53 Comment(1)
This appears to be exactly what I need. Thank you.Messinger
S
2

Maybe this very lightweight XML library can also be of help: RapidXML. It's an XML parser, not a database library, but depending on your application that might be enough (you mention a flatfile XML data storage).

Slumgullion answered 24/2, 2009 at 13:7 Comment(0)
A
0

You can also look at berkleyDB

From wikipedia:

Berkeley DB (BDB) is a computer software library that provides a high-performance embedded database, with bindings in C, C++, Java, Perl, Python, Ruby, Tcl, Smalltalk, and many other programming languages. BDB stores arbitrary key/data pairs as byte arrays, and supports multiple data items for a single key. BDB can support thousands of simultaneous threads of control or concurrent processes manipulating databases as large as 256 terabytes, on a wide variety of operating systems including most Unix-like and Windows systems, and real-time operating systems.

Anurous answered 24/2, 2009 at 13:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.