From: | ncm(at)zembu(dot)com (Nathan Myers) |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: RFC C++ Interface |
Date: | 2000-12-12 23:50:31 |
Message-ID: | 20001212155031.A8596@store.zembu.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Dec 12, 2000 at 05:28:46PM -0500, Bruce Momjian wrote:
> > On Sun, Dec 10, 2000 at 06:53:11PM -0500, Bruce Momjian wrote:
> > > > I appreciate your comments and would like to respond to your
> > > > concerns. The API I sketched in my earlier e-mail is borrowed
> > > > heavily from Rogue Wave's dbtools.h++ library. I think it can be
> > > > a very clean and elegant way of accessing a database.
> > >
> > > Rogue Wave's API is quite interesting. It would be a challenge to
> > > implement. If you think you can do it, I think it would be a real
> > > win, and a real object-oriented API to PostgreSQL.
> >
> > I was co-architect of the Rogue Wave Dbtools.h++ interface design
> > ... The design is really showing its age. SQL92 and SQL3 didn't
> > exist then, and neither did the STL or the ISO 14882 C++ Language
> > standard.
>
> Can you suggest areas that should be changed?
As I recall, we were much more fond of operator overloading then than is
considered tasteful or wise today. Also, there was no standard for how
iterators ought to work, then, whereas today one needs unusually good
reasons to depart from the STL style.
Nathan Myers
ncm(at)zembu(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Myers | 2000-12-12 23:51:43 | Re: (one more time) Patches with vacuum fixes available . |
Previous Message | Vincent AE Scott | 2000-12-12 23:48:50 | Re: external function proposal for 7.2 |