digitalmars.D.announce - HDF5 for D
- Dejan Lekic (23/23) Dec 11 I have just posted this to the
- Kapendev (7/10) Dec 11 Works fine and the Quick Start section is very helpful.
- Dejan Lekic (5/7) Dec 12 Thanks! - I am pretty sure I have that covered in the README.md
- Sergey (6/8) Dec 11 Maybe worth to mention and compare with older packages
- Dejan Lekic (16/21) Dec 12 Good point.
I have just posted this to the https://forum.hdfgroup.org/t/hdf5-binding-to-the-d-programming-language/13626 I have just pushed my D (programming language) bindings to the libhdf5 and libhdf5_hl libraries to the following repository: https://codeberg.org/ddn/ddn-lib-hdf5 DUB package is also registered and located at the usual place: https://code.dlang.org/packages/ddn-lib-hdf5 By default libhdf5 and libhdf5_hl libraries are linked dynamically. Developer can always change it to static linking by changing the DUB configuration to “static” (`dub build –config=static`) README.md file contains a “Quick Start” section that explains how to create a tiny D project, add the binding as dependency, and build and run a tiny demo application. Repository itself contains a more serious demo applications. I really hope there are people here who are interested in the D programming language and would spend some time giving this package a try. - It will not take more than few minutes if you follow the “Quck Start” guide. Bindings should work on Windows, but I had no time to test it there. My primary platform is Linux. Any feedback will be greatly appreciated. Kind regards and MERRY XMASS!
Dec 11
On Thursday, 11 December 2025 at 23:36:29 UTC, Dejan Lekic wrote:I have just posted this to the https://forum.hdfgroup.org/t/hdf5-binding-to-the-d-programming-language/13626Works fine and the Quick Start section is very helpful. I'm not sure how important this is for people who already know what they are doing, but it might be nice to add a note about how to install hdf5 on Linux. Example: `apt install libhdf5-dev` And yes, I am an Ubuntu user.MERRY XMASS!MERRY XMASS!!!
Dec 11
On Friday, 12 December 2025 at 07:02:52 UTC, Kapendev wrote:what they are doing, but it might be nice to add a note about how to install hdf5 on Linux. Example: `apt install libhdf5-dev`Thanks! - I am pretty sure I have that covered in the README.md file. Maybe not for Debian and derivatives. If that is the case I will add a section on how to install hdf5 with `apt`. You are absolutely right, that will be helpful.
Dec 12
On Thursday, 11 December 2025 at 23:36:29 UTC, Dejan Lekic wrote:Any feedback will be greatly appreciated. Kind regards and MERRY XMASS!Maybe worth to mention and compare with older packages https://code.dlang.org/packages/hdf5-d https://code.dlang.org/packages/d_hdf5 Why it was required to prepare a new package? How different is the approach from the 2 others?
Dec 11
On Friday, 12 December 2025 at 07:29:27 UTC, Sergey wrote:Maybe worth to mention and compare with older packages https://code.dlang.org/packages/hdf5-d https://code.dlang.org/packages/d_hdf5 Why it was required to prepare a new package? How different is the approach from the 2 others?Good point. I must say I barely looked at these projects. When I was searching for `hdf5` binding for D I first looked at two things: 1) When was the last release. 2) When was the last commit to the official repository. 3) Version of the HDF5 library their last release cover. 4) Sample code of how the binding is used. So essentially I've spent only few minutes on each of these projects and realised none of them aligns with my vision of how I want to use HDF5 binding - not just the libraries, but also the code. Every single function and type in ddn-lib-hdf5 is commented DDoc-style with explanation what that symbol does that is as close to the original doc from libhdf5 as possible. There are 3180 functions in the public API, so there are lots of DDoc-style comments as you can imagine.
Dec 12









Dejan Lekic <dejan.lekic gmail.com> 