Git Product home page Git Product logo

Comments (2)

aleksamagicka avatar aleksamagicka commented on September 23, 2024 1

I couldn't care less what compiler is being used, as long as it's not a PITA to configure and carry on.

I'll admit that I'm not completely up to speed with where the kernel stands with Rust right now, but I certainly don't want to be the one trying to upstream any glue code for hwmon :) Perhaps this doesn't make sense at all, or it's not needed, but you get the idea.

And I don't think it's a good idea to drop the current C drivers and just switch to Rust. If the option to use Rust becomes available, then I'd prefer that only new drivers be written in it (if the author/s want). Maintaining both versions in principle is a pain and I don't think upstream would be very happy to get a patch replacing C with Rust just for fun.

IOW, I'm not against Rust. I'm all in for new tech etc, but my opinion is that it's too early. And personally I'd like to see a complete example of a hwmon Rust driver that can compile, be inserted etc and what modifications to the kernel were needed to get there.

from liquidtux.

stalkerg avatar stalkerg commented on September 23, 2024 1

And I don't think it's a good idea to drop the current C drivers and just switch to Rust. If the option to use Rust becomes available, then I'd prefer that only new drivers be written in it (if the author/s want). Maintaining both versions in principle is a pain and I don't think upstream would be very happy to get a patch replacing C with Rust just for fun.

Yeah, I agree.

And personally I'd like to see a complete example of a hwmon Rust driver that can compile, be inserted etc and what modifications to the kernel were needed to get there.

seems like a better way to understand it would be to try to make a dummy driver with fake indicators, but I don't think it will be too much of a problem if even DRM bonded already and the Apple GPU driver works very well.

from liquidtux.

Related Issues (19)

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.