Skip to content

Rust in the kernel #153

Answered by vvaltchev
0xdeadbad asked this question in Q&A
Jan 23, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hello! This is definitively an interesting question.
When I start developing Tilck in 2016, Rust was barely just born and it didn't make any sense to use it. Now, everything is different and Rust is entering in the Linux kernel too. Therefore, Rust seems to be a valid language for low-level code.

For Tilck, the biggest problem with Rust is the toolchain: I spent quite some time working on the build_toolchain script and on Tilck's CMake-based build system in order to allow switching easily between multiple pre-built GCC toolchains (from toolchains.bootlin.com), even across architectures. For Rust there is nothing exactly like that yet. Linux doesn't care about such things because the whole…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@0xdeadbad
Comment options

@vvaltchev
Comment options

Answer selected by vvaltchev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants