Comments (2)
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.
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)
- Kernel driver for corsair coolers HOT 6
- Interest for EVGA and Corsair coolers using 5th gen. Asetek designs HOT 15
- Usage with fancontrol HOT 2
- Thanks HOT 1
- NZXT Smartdevice v2 support HOT 5
- X63 support HOT 40
- nzxt-kraken2: fan/pump control HOT 2
- Grid v3 upstreaming HOT 4
- nzxt-kraken3 upstreaming? HOT 30
- ci: enable codespell
- Disable squash merges HOT 11
- Match file locations with the kernel tree HOT 1
- nzxt-smart2: maybe error on stale data?
- ci: test CONFIG_DEBUG_FS=y/n
- nzxt-kraken3.c: ‘get_fw_version_cmd’ defined but not used with CONFIG_DEBUG_FS=n
- gitversion.sh (and then dkms) fails on clones without tags HOT 2
- Building with W=1? HOT 1
- nzxt-kraken: Incorrect order of failing in probe HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liquidtux.