With #Rust, I feel that #CPP is technically dead. I don't see many uses for C++ aside of maintaining old stuff and maybe to use some libraries for particular needs.

Why would someone deal with C++ today for a new program when they can just use Rust instead?

I was a fan of C++, but I no longer want to touch anything that uses it anymore.

Follow

@deavid I work in embedded, 95% of what I've seen, from Linux embedded to RTOS based is C++. The only place I have seen C is for a bare metal target.

To be honest, many of the developers I've seen barely write good C++, it's more like Cish C++. I don't have much confidence that most of the ones I've seen will be capable of transitioning to an embedded Rust target, so it might be difficult to transition with an existing team.

However if I was building a team from scratch for a new codebase, I'd look hard at Rust. There I could hire specifically for Rust or at least Rust enthusiastic C++ developers.

@ambihelical does Rust support the targets/architectures that you use?

@deavid It looks like it does but I haven’t tried it.

@ambihelical I'm not sure how much benefit it is, or how much of a headache it is. I'm not into embedded myself.

What you describe is the type of C++ that it's simple enough, so there's not that much need to migrate away. The platform is very specific anyway.

@deavid Not really there would be a benefit if all current devs were rust devs but i don’t think it would be worth it to train up current c++ devs. This was true for all projects I can remember. I wish it was different but I have to be realistic. If I was doing a green field project and had to hire everybody it could possibly work. Never been in that situation so far.

@ambihelical Just joking now: maybe they can teach themselves if they get interested.

If they don't like Rust, there's not much it can be done, it would be really hard.

In my case, I learnt Rust at Google when I joined in an internal class; and I had no prospects of using it internally. I liked it and started learning on my own after that single class.

Everyone that I met so far that uses Rust is very passionate about it and loves it.

So maybe if some of them learn the basics they will like it and help you out on teaching the rest.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.