Giter Site home page Giter Site logo

What needs to be done? about hdf5-rust HOT 4 CLOSED

aldanor avatar aldanor commented on August 16, 2024 2
What needs to be done?

from hdf5-rust.

Comments (4)

bluss avatar bluss commented on August 16, 2024 2

@aldanor Nice work. I'm very interested in how to design a rust library/program that keeps track of a "foreign" set of data types, in a dynamic way. Thanks for sharing your work, I'll read through it. 😄

from hdf5-rust.

aldanor avatar aldanor commented on August 16, 2024 1

Closing this since I've recently resumed working on the crate with hopes to make a stable usable release in the foreseeable future.

from hdf5-rust.

aldanor avatar aldanor commented on August 16, 2024

Hi @Eh2406, apologies, I haven't had much time recently due to heavy involvement with a few other projects, but it's been on my mind to bring this to usable state (especially with the fact that rust-ndarray reached a fairly useful state lately) -- I've mentioned a few things in #14. One question is how to deal with dataset datatypes (mentioned there).

I've just pushed an existing branch I've had, with the latest work -- 4429b00 -- changing trait-based inheritance to specializations; while it's a lot cleaner code-wise and doesn't require end-user to import a million different traits, almost all documentation basically just disappears (due to issues in rustdoc mentioned in #14). (would also appreciate if anyone voiced a thought on whether specializations are indeed better than a multitude of traits; to me personally it looks a lot better)

Fixing the aforementioned rustdoc issue or somehow helping the core team with that would probably be the greatest help of all; or figuring and implementing an alternative way (like in rust-xcb) to generate the docs give there's a lot of aliases and specializations (there's a few other projects that have to ditch rustdoc because of the same reason; which is more of a hack/workaround and more painful to maintain, but it is what it is).

Cheers!

from hdf5-rust.

Eh2406 avatar Eh2406 commented on August 16, 2024

I spent some time trying to use the new branch, and I can confirm that it is not easy to grock from the docs as they are. :-P Perhaps some examples reading and writing with different types could help paper over what rust-doc refuses to render and give some context on how the parts fit together. Some of the confusion is my background, I have only used hdf's from pandas, so if the concepts map to the c-api then I'd miss the connection. Perhaps some links to comparable parts of other languages api's could help?

What practically would be involved in doing the docs the way rust-xcb does it? I looked at the the xcb project but could not find exactly what you are referring to. I also wonder if the new include external files in documentation (RFC 1990) could be used to cover this?

from hdf5-rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.