Good introduction to Rust in Linux by some of the developers that are doing the work: https://security.googleblog.com/2021/04/rust-in-linux-kernel.html … (disclosure, I helped a tiny bit with the C examples...)
-
-
W odpowiedzi do @gregkh
Isn't it a problem that Rust doesn't have some kind of LTS support version? Which version of the Rust compiler would the kernel support?
2 odpowiedzi 0 podanych dalej 4 polubione -
W odpowiedzi do @zappor
what version of what compiler does the kernel support in the LTS releases today? In other words, I think you are worrying about things that are not an issue :)
2 odpowiedzi 0 podanych dalej 3 polubione -
W odpowiedzi do @gregkh
C89 is still supported but Rust 1.30 is not supported anymore. And code written for Rust 1.30 might not compiler with rust 1.50.
2 odpowiedzi 0 podanych dalej 0 polubionych -
W odpowiedzi do @zappor
There is no guarantee that a new version of gcc will build an old version of Linux (the opposite is almost always true), so there's no change here at all. And if you think that the kernel is "standard C", I have a bridge to sell you...
1 odpowiedź 0 podanych dalej 3 polubione -
W odpowiedzi do @gregkh
No, but there is a stable GCC 9 that I can use to compile my old kernel. Maybe it's not getting fixes today but it was polished over a long time. But there won't be a stable Rust 1.30.x I can keep using in the future.
1 odpowiedź 0 podanych dalej 0 polubionych
You can use the exact same copy of the rust compiler that you used to build the kernel when it was released, just like you do today for your C compiler. There is no difference here.
Wydaje się, że ładowanie zajmuje dużo czasu.
Twitter jest przeciążony lub wystąpił chwilowy problem. Spróbuj ponownie lub sprawdź status Twittera, aby uzyskać więcej informacji.