HDF - port to Rust

Since Rust is memory-safe and thread-safe out of the box, doesn’t it just make sense to port HDF from C to Rust?

1 Like

Would that also work in fortranland?

I’m not a Fortran guy, but maybe…

https://docs.rs/blas-sys/0.6.9/blas_sys/fortran/index.html

Looks like you can call Fortran from Rust (I think).

It would be interesting to be able to implement HDF5 in whatever language one would like. The entire specification is intimidating though. What could make the specification more accessible is breaking it down into levels of compliance. Additionally, having a specification compliance test suite would also be useful.

2 Likes

If this happens, can Firefox edit HDF directly as it can edit PDF now [1]?

[1] https://blog.mozilla.org/en/mozilla/our-firefox-2022-year-in-review/