< 返回版块

Mike Tang 发表于 2019-08-30 15:28

Tags:rust,linux,kernel

Rust is the future of systems programming, C is the new Assembly (Packt)

Posted Aug 29, 2019 16:33 UTC (Thu) by josh (subscriber, #17465) In reply to: Rust is the future of systems programming, C is the new Assembly (Packt) by roc Parent article: Rust is the future of systems programming, C is the new Assembly (Packt)

I have, yes. I spoke with Greg Kroah-Hartman, and he said he'd be willing to accept a framework in the kernel for writing drivers in Rust, as long as 1) for now it wasn't enabled by default (even if you did "make allyesconfig") so that people don't need Rust to build the kernel, and 2) it shows real benefits beyond writing C, such as safe wrappers for kernel APIs.

I'd be happy to talk with someone interested in writing such a framework.

Ref: https://lwn.net/Articles/797828/


Ext Link: https://lwn.net/Articles/797828/

评论区

写评论

还没有评论

1 共 0 条评论, 1 页