Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #11309

Re: DB library question

From "Waldek M." <wm@localhost.localdomain>
Newsgroups comp.lang.c++
Subject Re: DB library question
Date 2011-11-07 22:16 +0100
Organization Mojito.pl
Message-ID <vxwifftl4257$.dlg@localhost.localdomain> (permalink)
References <j98ov0$p9i$2@wieslauf.sub.de> <tdq769s345iz.dlg@localhost.localdomain> <j997hj$19l$1@wieslauf.sub.de>

Show all headers | View raw


On Mon, 7 Nov 2011 18:20:35 +0000 (UTC), Emil Barton wrote:
>> It's a little off-topic for this group, but...
> Please redirect me to the right group then.

I'm not sure which one would be good for you; comp.databases perhaps?
This one is on C++ language itself, and the standard library.

> This is nice but "off topic" for my question I'm afraid. I must have been 
> unclear. What I want is to create a database in C++ that would not
> have to rely on other backends, drivers, engines or whatever you call 
> them in SQL or not. A pure C++ database providing its own structure,  
> algorithms and access methods, you understand?

Frankly, I do not. C++ language does not specify databases, so there's
no way to have a "pure C++ database".
You might want to use some serialization framworks, like eg. google
protobuf. You might want to use simple write()/read() calls
on your structures provided you can save their state somehow.
Or use SQlite, which is an engine that comes as one header file.
More C in syntax than C++, actually.

Does any of these fulfil your needs?

Best regards,
Waldek

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

DB library question Emil Barton <emilbarton@whynot.com> - 2011-11-07 14:11 +0000
  Re: DB library question "Waldek M." <wm@localhost.localdomain> - 2011-11-07 18:52 +0100
    Re: DB library question Emil Barton <emilbarton@whynot.com> - 2011-11-07 18:20 +0000
      Re: DB library question "Waldek M." <wm@localhost.localdomain> - 2011-11-07 22:16 +0100
        Re: DB library question emilbarton <bartonemil@gmail.com> - 2011-11-11 02:55 -0800
  Re: DB library question Ian Collins <ian-news@hotmail.com> - 2011-11-08 07:36 +1300
    Re: DB library question Emil Barton <emilbarton@whynot.com> - 2011-11-07 19:05 +0000
  Re: DB library question yatremblay@bel1lin202.(none) (Yannick Tremblay) - 2011-11-16 17:17 +0000

csiph-web