2 ms·
I am extremely biased, but I’ve always found the rust tool chain far easier than the C ones, especially as a Windows user. No need to set up a cross compiler, g
by steveklabnik 6y ago
I am extremely biased, but I’ve always found the rust tool chain far easier than the C ones, especially as a Windows user. No need to set up a cross compiler, given that rustc already is one, and is easy to add more targets to via the JSON target spec.
- messe 6y agoA cross compiler is easy enough to set up with clang too (just specify the -target command line option). I just think that when starting out in kernel development, you're likely going to be dealing with linker scripts for likely the first time. It's been a while since I tried rust for this, but C generates pretty clean object files, so the linker scripts from the OSDev wiki can often be copied verbatim.
- steveklabnik 6y agoThat’s fair re:clang, seems like gcc is used way more often in tutorials. I don’t think that the linker script stuff ends up different but it’s been a minute since I started from scratch.