Jeff Bailey <[EMAIL PROTECTED]> writes:
> On Mon, Apr 10, 2000 at 02:26:50PM +0200, Marcus Brinkmann wrote:
>
> > The Hurd is written in C. It was a good choice back when it was started,
> > and it would still be a good choice, although in my personal opinion
> > C++ would also be a good choice. Maybe if you are so enthusiastic for
> > object oriented programming, you want to contribute a C++ wrapper to the
> > Hurd libraries? This would certainly be an interesting project on its own.
>
> Will Thomas/Mark accept the patches? At the beginning of May you had
> sent in a patch to rename the catch keyword in libthreads to catch_exit
> to match gnumach and it was never applied.
That really shouldn't matter. If you write a C++ library, you can
kludge around such things like
#define catch hurd_catch
extern "C" {
#include <some/hurd/file.h>
}
#undef catch
Personally, I think C++ is a terrible language and I try to avoid it.
But some well-designed C++ classes around the Hurd libraries might be
very useful for those who are bent differently.
(There may of course be other C/C++ problems, that are more difficult
to get around than the "catch" keyword/identifier. I haven't tried).
/Niels