HDF5 Ruby library

Hi Group,
I'm new to the HDF world and not a 'true' (i.e. properly trained) programmer.

Bearing that in mind:
I thought a reasonable way to become familiar with the HDF5 library
was to write a Ruby library.
I have read the HLL wiki page but it didn't seem that there was too
much settled/defined in terms of behavior - correct?
I've previously found Ruby's Rspec an invaluable way of adhering to
test/behavior driven development.... is there such a set of behavior
spec's for HDF5?
If so which of the C, C++, Fortan, Java specs are considered the most
comprehensive?

Things won't start immediately, simply because I'd like to study the
HDF5 a little longer and try to identify the fatures I'll be needing
before I start this effort.
Selfishly I'll start by tackling the parts of the API I think I'll
need, but I will make the library available on GitHub for anyone
interested.
My understanding is the C version of HDF5 is the first amoung equals
so my thought is to use Ruby's ffi library since that is now available
for JRuby, which is the Ruby implementation I think I'll be using.

Appreciate any experiences and thoughts anyone has.
Mark

···

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Hi Mark,

Hi Group,
I'm new to the HDF world and not a 'true' (i.e. properly trained) programmer.

Bearing that in mind:
I thought a reasonable way to become familiar with the HDF5 library
was to write a Ruby library.
I have read the HLL wiki page but it didn't seem that there was too
much settled/defined in terms of behavior - correct?

  Yes, the HLL wrapper project is still pretty early in it's design/development.

I've previously found Ruby's Rspec an invaluable way of adhering to
test/behavior driven development.... is there such a set of behavior
spec's for HDF5?

  I'm not familiar with the Ruby Rspec, can you send a link to information about it?

If so which of the C, C++, Fortan, Java specs are considered the most
comprehensive?

  The C API will be the most comprehensive.

Things won't start immediately, simply because I'd like to study the
HDF5 a little longer and try to identify the fatures I'll be needing
before I start this effort.
Selfishly I'll start by tackling the parts of the API I think I'll
need, but I will make the library available on GitHub for anyone
interested.
My understanding is the C version of HDF5 is the first amoung equals
so my thought is to use Ruby's ffi library since that is now available
for JRuby, which is the Ruby implementation I think I'll be using.

  Sounds interesting, let us know how it goes.

    Quincey

···

On Jan 9, 2009, at 12:29 AM, Mark V wrote:

Appreciate any experiences and thoughts anyone has.
Mark

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Hi Mark,

Hi Group,
I'm new to the HDF world and not a 'true' (i.e. properly trained)
programmer.

Bearing that in mind:
I thought a reasonable way to become familiar with the HDF5 library
was to write a Ruby library.
I have read the HLL wiki page but it didn't seem that there was too
much settled/defined in terms of behavior - correct?

       Yes, the HLL wrapper project is still pretty early in it's
design/development.

I've previously found Ruby's Rspec an invaluable way of adhering to
test/behavior driven development.... is there such a set of behavior
spec's for HDF5?

       I'm not familiar with the Ruby Rspec, can you send a link to
information about it?

http://rspec.info/

I /think/ the nearest counterpart in Java land is Junit, though I read
of someone advocating Rspec + JRuby as a preferred method for specing
java code. Not sure what C/C++ people use.

Mark

···

On Tue, Jan 13, 2009 at 8:55 AM, Quincey Koziol <koziol@hdfgroup.org> wrote:

On Jan 9, 2009, at 12:29 AM, Mark V wrote:

If so which of the C, C++, Fortan, Java specs are considered the most
comprehensive?

       The C API will be the most comprehensive.

Things won't start immediately, simply because I'd like to study the
HDF5 a little longer and try to identify the fatures I'll be needing
before I start this effort.
Selfishly I'll start by tackling the parts of the API I think I'll
need, but I will make the library available on GitHub for anyone
interested.
My understanding is the C version of HDF5 is the first amoung equals
so my thought is to use Ruby's ffi library since that is now available
for JRuby, which is the Ruby implementation I think I'll be using.

       Sounds interesting, let us know how it goes.

               Quincey

Appreciate any experiences and thoughts anyone has.
Mark

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to
hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Hi Mark,

Hi Mark,

Hi Group,
I'm new to the HDF world and not a 'true' (i.e. properly trained)
programmer.

Bearing that in mind:
I thought a reasonable way to become familiar with the HDF5 library
was to write a Ruby library.
I have read the HLL wiki page but it didn't seem that there was too
much settled/defined in terms of behavior - correct?

      Yes, the HLL wrapper project is still pretty early in it's
design/development.

I've previously found Ruby's Rspec an invaluable way of adhering to
test/behavior driven development.... is there such a set of behavior
spec's for HDF5?

      I'm not familiar with the Ruby Rspec, can you send a link to
information about it?

http://rspec.info/

I /think/ the nearest counterpart in Java land is Junit, though I read
of someone advocating Rspec + JRuby as a preferred method for specing
java code. Not sure what C/C++ people use.

  Ah, it's a unit testing framework. :slight_smile: There is a CPPUnit project for C++ code, but nothing directly for C, as far as I know. We have a homebrewed set of testing frameworks for HDF5 in the various 'test' directories that come with the distribution, but I'm not certain if that is directly analogous to what you are looking for...

  Quincey

···

On Jan 12, 2009, at 5:54 PM, Mark V wrote:

On Tue, Jan 13, 2009 at 8:55 AM, Quincey Koziol > <koziol@hdfgroup.org> wrote:

On Jan 9, 2009, at 12:29 AM, Mark V wrote:

Mark

If so which of the C, C++, Fortan, Java specs are considered the most
comprehensive?

      The C API will be the most comprehensive.

Things won't start immediately, simply because I'd like to study the
HDF5 a little longer and try to identify the fatures I'll be needing
before I start this effort.
Selfishly I'll start by tackling the parts of the API I think I'll
need, but I will make the library available on GitHub for anyone
interested.
My understanding is the C version of HDF5 is the first amoung equals
so my thought is to use Ruby's ffi library since that is now available
for JRuby, which is the Ruby implementation I think I'll be using.

      Sounds interesting, let us know how it goes.

              Quincey

Appreciate any experiences and thoughts anyone has.
Mark

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to
hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

Hi Mark,

Hi Mark,

Hi Group,
I'm new to the HDF world and not a 'true' (i.e. properly trained)
programmer.

Bearing that in mind:
I thought a reasonable way to become familiar with the HDF5 library
was to write a Ruby library.
I have read the HLL wiki page but it didn't seem that there was too
much settled/defined in terms of behavior - correct?

     Yes, the HLL wrapper project is still pretty early in it's
design/development.

I've previously found Ruby's Rspec an invaluable way of adhering to
test/behavior driven development.... is there such a set of behavior
spec's for HDF5?

     I'm not familiar with the Ruby Rspec, can you send a link to
information about it?

http://rspec.info/

I /think/ the nearest counterpart in Java land is Junit, though I read
of someone advocating Rspec + JRuby as a preferred method for specing
java code. Not sure what C/C++ people use.

       Ah, it's a unit testing framework. :slight_smile:

With 'user stories' a.k.a 'cucumber' (http://rubyurl.com/Wdun) it
becomes a whole lot more.
Anyway, I tend to abuse it and use it as psuedo-documentation and a
'howto' repository :slight_smile:

There is a CPPUnit project
for C++ code, but nothing directly for C, as far as I know. We have a
homebrewed set of testing frameworks for HDF5 in the various 'test'
directories that come with the distribution, but I'm not certain if that is
directly analogous to what you are looking for...

Thanks, sounds like no one test dir is preferred, but the hdf5 files
in ./hdf/test make me think this is the place to start. This
discussion is probably best moved to the HLL wiki page which I now
have access to :slight_smile:

Cheers
Mark

···

On Wed, Jan 14, 2009 at 12:38 AM, Quincey Koziol <koziol@hdfgroup.org> wrote:

On Jan 12, 2009, at 5:54 PM, Mark V wrote:

On Tue, Jan 13, 2009 at 8:55 AM, Quincey Koziol <koziol@hdfgroup.org> >> wrote:

On Jan 9, 2009, at 12:29 AM, Mark V wrote:

       Quincey

Mark

If so which of the C, C++, Fortan, Java specs are considered the most
comprehensive?

     The C API will be the most comprehensive.

Things won't start immediately, simply because I'd like to study the
HDF5 a little longer and try to identify the fatures I'll be needing
before I start this effort.
Selfishly I'll start by tackling the parts of the API I think I'll
need, but I will make the library available on GitHub for anyone
interested.
My understanding is the C version of HDF5 is the first amoung equals
so my thought is to use Ruby's ffi library since that is now available
for JRuby, which is the Ruby implementation I think I'll be using.

     Sounds interesting, let us know how it goes.

             Quincey

Appreciate any experiences and thoughts anyone has.
Mark

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to
hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to
hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.

----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe@hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe@hdfgroup.org.