[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: parser
I've been thinking about the benefits of using C++ as
well, especially with the inadequate exception handling
that we currently have. It's a big decision, though.
There's a great deal of disparity between various
compilers, and something that builds with no problem
on VC++ may not compile using g++. Since OpenLDAP is
an Open Source project, we depend on many people being
able to develop, debug, and understand the source code
that we produce. While I'm in favor of using C++, it's
a very large can of worms, and event the discussion
is likely to start a holy war between the OO lovers and
the structurally-oriented.
> -----Original Message-----
> From: Predrag Balorda [mailto:balorda@bigfoot.com]
> Sent: Friday, June 18, 1999 11:42 AM
> To: openldap-devel@OpenLDAP.org
> Subject: Re: parser
>
>
> Sorry about the long wait..
> I've uploaded parser.tar.gz to ftp://ftp.openldap.org/incoming.
> I think I will have some more time now, so I will need people
> to look at
> this and tell me what needs to be fixed. It parses ldif files, but it
> has no integration with the server and I need to do that (it is a bit
> difficult figuring out the tree-structure looking at the sources, all
> the parsing is done on lines not on whole files).
>
> I was going through the sources and it got me thinking - is
> C++ a viable
> option?
> Given the "object-oriented" nature of LDAP I really think we should
> seriously
> start thinking of implementing portions of code in C++. And anything
> that deals
> with entries (think of them as objects) would be a prime candidate.
>
> Pele
>