Skip to main content
Topic: Rust could become mandatory in Linux? (Read 834 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Rust could become mandatory in Linux?

There were some programs I wanted to try out which were written in Rust, but I didn't install them when I saw that rust requires ~500 MB. Some bloated dependencies! I just hope this doesn't end up another thing requiring forks.

https://linux.slashdot.org/story/21/03/20/0321230/rust-takes-tentative-first-step-toward-linux-kernel?utm_source
Quote
In his This Week in Programming column, Mike Melanson writes: Rustaceans' dreams of Rust's inclusion in the Linux kernel are one tiny, ever so slight step closer to becoming a reality, with this week's "intentionally bare-bones" inclusion in Linux-next, the development branch of the Linux kernel... Curb your enthusiasm, however, as this remains a rather tentative first step of many necessary steps before Rust fully lands in the Linux kernel. A rather brief post on LWN.net summarizes where we are rather succinctly: Followers of the linux-next integration tree may have noticed a significant addition: initial support for writing device drivers in the Rust language. There is some documentation in Documentation/rust, while the code itself is in the rust top-level directory. Appearance in linux-next generally implies readiness for the upcoming merge window, but it is not clear if that is the case here; this code has not seen a lot of wider review yet.

 

Re: Rust could become mandatory in Linux?

Reply #1
and you haven't installed haskell yet   :D  :D  :D

mandatory?  i don't know, but if all developers program in Rust in the future, it will be mandatory

Re: Rust could become mandatory in Linux?

Reply #2
and you haven't installed haskell yet   :D  :D  :D
Well, it appears I have pandoc-bin, which doesn't include ~750 MB of Haskell dependencies. :P Apparently, I also have ghc-libs installed, but those two are the only packages having to do with Haskell that I have installed.

Quote
mandatory?  i don't know, but if all developers program in Rust in the future, it will be mandatory
I can imagine that if the drivers become written in Rust in the future, it will be mandatory at least when compiling the kernel from source. I'm not familiar with Rust, so I can't tell if there will also be dependencies for the prebuilt version.

Re: Rust could become mandatory in Linux?

Reply #3
pandoc-bin we have in our repo too  ;)  you can install it by pacman -S pandoc (PKGBUILD is designed  as fully archlinux's pandoc replacement)