News for hackers. Stuff that matters.
Re:Next steps for Rust in the kernel by consp on Wednesday September 21, 2022 @10:02AM (#32925293)
> But then I decided to just learn it (partially driven by work requirements), and it's honestly great.

I did for work as well and in my case I do not want to touch it again for quite a while. Cargo is a terrible system with all kinds of hidden and possible broken dependencies you introduce and everything depends highly on the version of rust you use. It's not even close to mature enough to consider using except for test projects. It doesn't fix programmer errors despite every rust user trying to convince me otherwise that all imported crates are perfect.

I like the idea of the language somewhat but the entire ecosystem ruins it for me.

Re:Next steps for Rust in the kernel by packetlost on Wednesday September 21, 2022 @10:17AM (#32925480)
> I did for work as well and in my case I do not want to touch it again for quite a while. Cargo is a terrible system with all kinds of hidden and possible broken dependencies you introduce and everything depends highly on the version of rust you use

I've encountered none of this. Of course Cargo is going to have broken libs, it's just a package repo like npm, pypi (+ pip), etc.. The differences between "editions" is pretty large, but I haven't seen much reason to not use the latest release in most cases. The tooling out there is very good at supporting multiple toolchains simultaneously (though, not in the same project, necessarily).

> It doesn't fix programmer errors despite every rust user trying to convince me otherwise

No engineer who knows what they're talking about will ever say this. You're either spewing lies or are believing the words of people who have no idea what they're talking about, neither of which are good. Rust helps prevent a specific class of memory errors that are very common in C (and to a lesser extent, C++). It still gives you the `unsafe` escape hatch that lets you do almost anything you can do in C.

> It's not even close to mature enough to consider using except for test projects.

Our production hard-realtime control system begs to differ.

Re:Next steps for Rust in the kernel by kouteiheika on Wednesday September 21, 2022 @10:49AM (#32925963)
> Cargo is a terrible system with all kinds of hidden and possible broken dependencies you introduce and everything depends highly on the version of rust you use.

Can you give a concrete example of this?

Re:Next steps for Rust in the kernel by maherbeg on Wednesday September 21, 2022 @11:57AM (#32927050)
What language and ecosystem do you like using? I'm curious as to what ecosystem isn't terrible unless it's just C with vendored dependencies.