Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm looking for a light-weight database library that I can compile into a C++ application.
Does any such exist?
SQLite. Not flat-file, but it is file based, can be easily embedded in apps.
For pure XML embedded database you might want to peek at Oracle Berkeley DB XML.
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).
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.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for Best XML parser with support for XSD and Namespace along with SOAP Support. Looking for small footprint(ideally upto 500kB). I came across gSOAP, but not sure if Standard Open Source Edition of gSOAP supports all the features I am looking for.
Any help if much appreciated.
I think it is a good question.
First: if you use xml/soap/wsdl based web services, you have probably a really highlevel project, and thus even the c++ isn't really sure an optimal choice. I think it is very unlinkely, if you want to develop a real, working software in C, which makes soap services. IMHO you could think about java.
Second: xml and soap/wsdl are two different things, although soap uses xml for communication and the interface description (wsdl) is xml, too.
For xml handling, I suggest you could use libxml++ .
For SOAP, there is more library, but most of them isn't enough good for me to name them. Try each after the other, and sometimes you will have luck. :-)
Both libs have small footprint - they are relative complex, but don't need a legion of another libraries.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm searching for a tool to simulate the classic distributed computation model on a single machine to implement several algorithms in the purpose of the paper that I'm working on. Thus, performance isn't so important, it's only for scientific applications.
I want to have the possibility to specify the number of processes and the communication links between them. In other words, I want to define the network graph structure.
The computation should be asynchronous and message driven i.e. I want to send messages between connected processes and react to these messages.
Is there any library or framework for such computations? Simpler is better. Language doesn't matter so much, but I'd prefer Python or C++. I've given a look at Celery but I didn't find there the possibility to specify the connection between processes.
Very easy - python remote objects - pyro will run on a single machine or on multiple across a network.
You might also stick to python multiprocessing primitives, that allow you to create processes that communicate via queues, shared memory etc. Way easier than it seems ;)
See: http://docs.python.org/3/library/multiprocessing.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Please, suggest some lite databases to store key-value data (and maybe some other useful features). Something like NoSQL.
The main requirement that this databases must compile with my C++ program (into my binary) and no additional process on the system.
If SQLite isn't suitable, some better-known in-process key/value stores are:
Berkeley DB
Kyoto Cabinet
LevelDB
Note that for Berkeley Db and Kyoto Cabinet you'll probably need to buy a commercial license.
Did you consider SQLite? It's a library which can be statically compiled into your code. You store the database as a file in the filesystem.
https://www.sqlite.org/index.html
Others have already mentioned SQLite, which I'd also recommend since it's so easy to use. It's extremely lightweight too despite using SQL as a front end.
Another nice embedded* database is Berkeley DB. It better fits your request than SQLite (it's key/value DB) but the learning curve is much steeper. Now, I tend to be wary of open-source Oracle products (they have a bad track record managing the FLOSS projects they acquire, to say the least) but it's still worth mentioning, if you have no prejudice against Oracle it's quite a good product in itself.
(*) By the way, in order to help you find more products like that, the keywords you want to use for searching on the web are embedded database or in-process database.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am trying to create web gui for my c++ application can any one recommend any good C++ library.I had a look at http://www.webtoolkit.eu/wt . But i am not sure that is the only solution . Is connecting with python is a good solution?
There are many other technologies more recommended for web applications, like php,asp.net, Java EE where there are many resources talking about them, and a lot of libraries exist for such technologies. So even if your backend is in C++ you can develop the front end with another techno, it will be more easy than trying to develop it with C++.
You can make use of http://www.treefrogframework.org/ as well.
In case your server is Windows based, another solution is expose your C++ application via REST with Casablanca, http://msdn.microsoft.com/en-us/devlabs/casablanca. Then provide the UI with a JavaScript framework.
Otherwise I would suggest using a language that makes it easier to bind with C++ for server development, like D (you can then use http://vibed.org/ for the web part).
Using Python will require you to use something like SWIG to be able to access the code. It all depends on how much you need to expose from the C++ side.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I want to make an application that has (preferably native) versions for multiple platforms (Windows, Mac, maybe Linux, iOS). By native I mean versions made independently with native tools (Visual Studio and maybe C# on Windows, Xcode and maybe Objective-C on Mac). I want that application to have cloud-stored user-based structural data (not much; maybe XML-based? I want to minimize the server-side part, because I'm not comfortable with it) so it would be an advantage if it could be easily accessible from different network libraries. I don't need any server-side data processing. I don't want to have to learn (I don't understand well any) any web technologies; I would simply need an interface for creating and managing users and data client-side using desktop programming languages and tools.
If I were only targeting Apple platforms, iCloud would be an option.
The best I've found is Appcelerator Cloud Services (http://www.appcelerator.com/cloud), but I'm looking for other solutions.
I have virtually no budget for the project; I'm a high-school student doing programming for fun and in order not to remain idle.
What are my options?