Boost logo

Boost :

Subject: Re: [boost] quince: queries in C++ expressions
From: Edward Diener (eldiener_at_[hidden])
Date: 2014-07-21 00:33:40

On 7/20/2014 10:40 PM, Gavin Lambert wrote:
> On 18/07/2014 20:02, Michael Shepanski wrote:
>> The thing that amazes me most is that we are such a small club. When I
>> read things online about how ORM is "the Vietnam of computer science",
>> and the way people seemed to have coined the phrase "impedance mismatch"
>> specifically to mean "I'm sad because I can't write queries in my
>> programming language", I wonder why everyone isn't attempting this.
> Speaking for myself, here, but nowadays I punt things like database
> access to C# code, where just about everything is trivial (there's
> libraries for everything, and even if you want to hand-roll the SQL you
> can make a basic bare-persistence ORM in less than a page of code).
> Which isn't to say that I wouldn't be thrilled if there were a good C++
> database library. It's just that historically there hasn't been (to my
> knowledge), and I haven't minded that all that much because I usually
> regard C++ as useful for high-performance code and integration with
> third-party native libraries, and C# as useful for everything else.
> Now excuse me while I don my flame-retardant coat, for daring to post
> such things in a C++ mailing list. ;)

I have written database components in C++, C#, Python, and even Object
Pascal in my career. Depending on the other database tools/components
you use it can be easy or hard to create code in any of those languages
and C#/.net hardly has a monopoly on database programming.

I would welcome a good cross-platform C++ database library using sql, or
even one based on an object-oriented database instead. I am glad to see
C++ programmers working on a cross-platform C++ database library.

Boost list run by bdawes at, gregod at, cpdaniel at, john at