Originally posted by jacob
View Post
Announcement
Collapse
No announcement yet.
Rust Patches For The Linux Kernel Updated A Fifth Time With New Features
Collapse
X
-
- Likes 3
-
Originally posted by RahulSundaram View Post
Yes I am aware it is not alternative now but it was one for Linux kernel up until recently, that's my point. What is brand new today in Rust will be routine code at some point and embedded systems running on alternative architectures may want to use it then. You may believe that everything in going to use ARM but I suspect that there will always be plenty of diversity in that space.
As for Aarch64 it was never alternative in Linux, to the contrary Linux support (not just the kernel, but also the toolchain etc) was an integral part of its development. Linux ran on it perfectly before the first production chips hit the market. Which kind of also makes my point above: these days no-one can hope to sell a CPU if Linux doesn't support it 100%, which is also why few people would risk putting another incompatible ISA on the market and having to incur all the burden and cost of porting the Linux ecosystem to it, rather than getting an ARM licence or going RISC-V and having it out of the box.
The execption to that can be ultra low-end microcontrollers (Arduino etc) which don't run a full-blown operating system anyway and Rust-in-Linux is not something they need to care about.
Comment
-
Originally posted by jacob View Post
As for Aarch64 it was never alternative in Linux
Comment
-
Originally posted by RahulSundaram View Post
We are still talking past each other on this. The architecture itself is relatively new, so there was plenty of years in the past people could have said who cares about anything besides x86 and power and stopped at that. Now we are adding Aarch64 into the mix, so we have to not tie ourselves up in current status quo because status quo keeps evolving.
Comment
-
Originally posted by jacob View Post
We shouldn't be conflating alternative and new
Originally posted by jacob View Post... So the fact that Rust doesn't support them (or at least not officially) shouldn't IMO hold Linux back.
Comment
-
Originally posted by RahulSundaram View PostGood news is that Rust architecture is getting broader due to one or both of the GCC efforts.
- Likes 1
Comment
-
Seeing as how C is around 50 years old (1972) and Rust is just closing in on 12 years (July 2012), it's still young by comparison. But I don't think Rust sought to be a C or even C++ replacement from what I've followed of it over the years. IMHO, it's just another language whose authors sought to work around, solve or fix certain limitations in other languages. I know jack squat about programing but nearly 32 years in IT has taught me that things well programmed in C can really kick the pants off most other languages (not assembly or machine code). But Rust has it's limits presently, right? I feel like I once read an article or two that said writing drivers in Rust was a bitch as compared to C. The language just probably needs to evolve more. The types of computers and OSes that were around in 1972 (and even in the 80s/90s) are nothing like what we have in 2022. We'll just have to see how it evolves. I think history is littered with languages that have fallen out of favor.
- Likes 2
Comment
-
-
Originally posted by jacob View PostIn embedded systems, IoT etc yes there is still plenty of MIPS but I guess those won't be looking for brand new kernel features and functionalities developed in Rust, so the lack of first class Rust support shouldn't affect them too much either.
Comment
Comment