John

You may find some useful insight here:  http://www.tux.org/lkml/#s15

Section 3 has many cogent reasons not to use C++

Regards

Graeme

On 23 April 2010 15:39, Quincey Koziol <[email protected]> wrote:
> Hi John,
> On Apr 23, 2010, at 7:44 AM, Biddiscombe, John A. wrote:
>
> Having spent some time wading through the hdf5 source code whilst tweaking
> various things, I can’t help feeling that much of the internal object id
> maintenance, list traversal, heap management and all the baggage that goes
> with the internal structures, would be vastly cleaner and easier to
> understand if stl containters/templates and c++ objects had been used when
> the library was first created.
>
> That's probably true.
>
> I’m not wanting to convert the library or persuade anyone else to do
> so...but...
>
> Do the hdf5 maintainers ever share the view that it would have been a much
> nicer library in general if it had been developed (at least internally and
> not the external visible interfaces) along such lines?
>
> Yes, I think that's definitely the case.  However, there wasn't a useful
> version of standard C++ available when we started the project, back in 1996.
>  :-/  Right now, we must use internal conventions for lots of things that
> would be automatically handled in C++, but that's the best we can do in C...
> Quincey
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
>
>



-- 
Graeme Burnett
M: +447830368024
S: graeme.burnett

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to