Live data from Hacker News

Microsoft seeks Rust developers to rewrite core C# code

theregister.com

1–10 of 256 posts

Re: Microsoft seeks Rust developers to rewrite core C# code

#8
post #6

What's the point of rewriting from C# to Rust, as C# is performant enough and already has memory safety? What will offset the huge rewrite cost?

C# doesn't have ownership/lifetimes and the kind of safety that comes with them.

Also, at the scale of Microsoft’s core global services, when you are paying for the processing, fast enough (or “CPU efficient enough”) isn't the same as with common apps. Even small efficiency gains are going to yield sufficient savings to be worth a fair amount of developer time.

Re: Microsoft seeks Rust developers to rewrite core C# code

#10
post #4

Can they start by not needing a multiple gigabyte download and admin rights to get the rust compiler to work on Windows?

Is that needed because the compiler accesses some higher privileged APIs?

The MSVC-based compiler doesn't come with a linker, so you need the MSVC build tools to get it. One of the ways to get the build tools is to install Visual Studio, which is fairly large.
Post reply on HN