News for hackers. Stuff that matters.
Re:Microsoft seeks Rust developers to rewrite core C# code by jimbob45 on Saturday February 03, 2024 @12:53PM (#39242857)
Are you not a developer? Being proficient in one means that it will take very little time to transfer to the other. C++ and Rust have a great deal of overlap in that way.
Re:Microsoft seeks Rust developers to rewrite core C# code by risyachka on Saturday February 03, 2024 @01:00PM (#39242930)
It only works one way though (at least in this case). If you know C++ you can quickly become proficient in Rust.

But not the other way around.

Re:Microsoft seeks Rust developers to rewrite core C# code by timeon on Saturday February 03, 2024 @01:08PM (#39243025)
Yeah C++ have steep learning curve compared to Rust.
Re:Microsoft seeks Rust developers to rewrite core C# code by PartiallyTyped on Saturday February 03, 2024 @07:50PM (#39246366)
If you know rust, you can carry the same ideas to C++. My C and C++ skills greatly improved as I got better with rust. The compiler forces you to learn proper memory management and that carries over.

Smart pointers? Just Box, Rc, Arc and Refcel.

Move semantics? It's just another name for ownership.

Sure, the OOP stuff are different, but okay, that in and of itself shouldn't hinder you.

Re:Microsoft seeks Rust developers to rewrite core C# code by nambit on Sunday February 04, 2024 @03:08AM (#39248515)
If it's an experienced C++ job and you don't know the difference between rvalue/lvalue/etc, you're gonna have a tough time.
Re:Microsoft seeks Rust developers to rewrite core C# code by rcxdude on Sunday February 04, 2024 @04:43AM (#39248880)
Are you sure? Many C++ programmers who have learned rust report that it has also made them better C++ programmers.
Re:Microsoft seeks Rust developers to rewrite core C# code by secondcoming on Saturday February 03, 2024 @02:39PM (#39243963)
It's not about proficiency, it's about not getting bogged down in programming language bikeshedding.
Re:Microsoft seeks Rust developers to rewrite core C# code by fl0ki on Saturday February 03, 2024 @02:53PM (#39244109)
Sigh. People don't even know what bikeshed means any more.

https://en.wiktionary.org/wiki/bikeshedding

If you think the differences between C++ and Rust are "unimportant but easy-to-grasp issues" then you may not know enough about either/both to contribute to the discussion.

We're talking about differences so impactful and well-recognized that everyone from Google[1] to the NSA[2] is advocating for using Rust to reduce the unsafety compared to C++. Are you saying all of them are bogged down in bikeshedding?

[1] https://security.googleblog.com/2022/12/memory-safe-language...

[2] https://www.nsa.gov/Press-Room/News-Highlights/Article/Artic...