Re:A review after using Rust on embedded in production for o...
by llm_trw on Monday October 14, 2024 @07:41AM
(#41836588)
>I wish and I'm sure Rust
Just like Ada.
>Linux kernel might as well be it someday
If rust is so great build your own damn kernel in it and stop trying to steal what's already been done by others.
Re:A review after using Rust on embedded in production for o...
by pdimitar on Monday October 14, 2024 @07:46AM
(#41836621)
Nobody is stealing anything, what a weird comment.
And the problem with new kernels is how to reuse the huge trove of already-written drivers. Nobody is going to start rewriting everything in any language, be it Rust or any other -- does not matter. That's why the ABI and "please commit to a standard" points are so difficult and thorny in the kernel ecosystem; people want to reuse.
Re:A review after using Rust on embedded in production for o...
by llm_trw on Monday October 14, 2024 @05:56PM
(#41842447)
Again if it's so great fork the kernel and make it great. People will flock to you if you can manage.
Re:A review after using Rust on embedded in production for o...
by ttfkam on Monday October 14, 2024 @09:11AM
(#41837196)
Another use case is when you need a systems language for a user-facing app (even if not directly connected to the internet) and would have reached for C++ previously.
Memory corruption bugs are no joke. If you've got staff that already knows C++, their ramp up time for Rust will be much shorter compared to typical devs working only in Python, JS, etc.
Re:A review after using Rust on embedded in production for o...
by pjmlp on Tuesday October 15, 2024 @05:34AM
(#41846729)
Most of that stuff can actually be done in compiled managed languages, and people reach out to C++ because of bias against anything with automatic resource management, even if C++ like features are part of the package.
If there's a killer open product out there where the primary supported language is Rust(Linux kernel might as well be it someday), or if a big company launches a successful product in Rust then adoption may accelerate. For now its mostly limited to cryptocurrencies, performance critical paths or rewrite of hidden core components but nothing flashy.
"Nobody ever gets fired for buying IBM". Unless teams can say the same about their choice of Rust, people are going to be risk averse and prefer using safest choice as long as its good enough.