Conversation

Jarkko Sakkinen

I don't think #Rust should have any business in any core features of #Linux #kernel before there is GPL licensed toolchain for it. #rustlang
2
5
7

Jarkko Sakkinen

Edited 3 months ago
@argv_minus_one Because it will allow to compile kernel with a compiler with proprietary changes. It is permissive but not self-governing.

You can still obviously do that for Linux but it is limited useful given that you would have to build that compiler from scratch.
1
0
0
@argv_minus_one Especially AI stealing code has raised the importance of copyleft licenses and we should rely more heavily in them in core components of Internet. Then you have a chance to sue a company if it contains provably GPL'd code (AI putting it there does not matter). Great example of governance.
0
0
0

@jarkko Doesn't need to be GPL licensed IMO. The toolchain just needs to become more stable and move off off Github

1
0
0
None of those help with governance. I don't think it is unstable and I neither care where it is hosted.
1
0
0

Jarkko Sakkinen

Edited 3 months ago
@katzenmann The main sponsors #Microsoft and #Google for Rust based kernel features have only the interest of closing ecosystems wherever they can. That power can be only mitigated by having defense in depth. Neither company has great history with Linux - except when you ask from their marketing people.
0
0
0

@jarkko including a rust compiler? (Needed to build the rust compiler...)

1
0
0
@tdelmas yes obviously. My guess is that "the year of Rust" in kernel won't happen before we can use GCC to compile Rust.

I've tried to find some instructions on how to test GCC-Rust but still puzzled how to get it setup for Fedora :-) I don't have any picture where it is at.
1
0
1
@tdelmas I'd be interested to check like how my own user space programs compile with it and maybe even try to fix any possible issue but so far I have zero clue where to start :-)
1
0
1
@tdelmas GCC is not just licensing wise important. There's bunch of weird embedded hardware etc. where GCC is the only supported toolchain. For that to gain Rust support would be improvement. Often these companies are also conservative to make any changes to their years long status quo.

I think at least two compilers for any possible widely used system programming language is optimal because that keeps innovation happening in the internals and adds some healthy competition to the sauce.
0
0
1