Live data from Hacker News

Microsoft seeks Rust developers to rewrite core C# code

theregister.com

131–140 of 256 posts

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

#131

I love writing Rust, but I was really surprised by how difficult it was to find a job _actually_ writing Rust. I'm happy to see the increased activity in the space, but searching for a job in Rust is probably still 10x harder than C or C++. It worked out in the end, and I'm happy to be getting paid to be writing Rust every day, but I hope that the market for Rust jobs continues to grow -- ideally even faster than it…

Agree, I am still looking for a Rust position, although I have more than 3 years of experience with it. And yes, it is very hard. It seems Rust is in a chicken/egg position: employers avoid it because "there are few developers", developers avoid it because "there are few jobs". Until recently the majority of Rust jobs were blockchain stuff. Now I see a rise in network infrastructure and security.

I know some teams that are hiring Rust devs. Please feel free to ping me if you would like to know more.

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

#132
post #68

Earlier quoted context omitted.

Seems like RUST needs work to become easier to learn. Hard for a business to take a risk on using it (outside of a use case absolutely needing a memory safe language) if the talent pool is shallow.

Honestly. Rust is not all that “difficult”. There’s just SO MUCH that you MUST know to be effective. You need to know all of the rustisms. Plus you need to have a general knowledge of memory. You need to understand how memory is being abstracted and how to work within those constraints so as not to be slow. You need to know all of the monads, what they mean, why each exists, what the nuance is, and why you might use…

>It’s not difficult so much as it just takes so much time and challenging-yourself

What's the difference?

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

#133
post #122
post #88

Earlier quoted context omitted.

Weirdly enough, some of the worst memory leaks I’ve debugged in my career were in GCed languages. Because any object can reference anything, retaining references can hide anywhere in the code. (Including via closures and other exotic things you forget about). And because in GC languages we don’t often have a destructor (or anything like it), it’s very common for people to forget to clean up resources. (Eg filesystem…

> And because in GC languages we don’t often have a destructor (or anything like it), it’s very common for people to forget to clean up resources. (Eg filesystem handles, sockets, wasm object references, and so on). > One weird thing about rust is that network sockets and file handles are automatically closed when the handle drops out of scope. The borrow checker takes care of that. If you do the same thing in JavaSc…

The first sentence you quoted acknowledged that it's a tendency rather than a fact of GC.

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

#134
post #79

Earlier quoted context omitted.

People _mentioning_ Rust means they will bring a random language into your stack if they are hired? This red flag cultural trend is blinding people to nuanced thought.

n=1 but I did bring Rust to my C++ job. I needed a web server, and I didn't want to put in an order with the web server team, and writing a web server in C++ looked like a recipe for pain.

What pain? Just include mongoose.h and .c in your project. It's in C, but C is C++.

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

#135

Earlier quoted context omitted.

We acquired a product last year, where the entire back-end was written in Rust. Unfortunately, Rust developers were hard to get by, and we didn't have any internally that could maintain the Rust code at such scale. The entire back-end ended up being re-written.

What happened to the developers who wrote the back-end in the first place?

maybe the borrow checker determined their lifetime was up

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

#136
post #39

Earlier quoted context omitted.

Given your username I suspect you're quite a bit older. I've mentored several grey beards on Rust and they weren't at all happy about it, at first. After a few months though, they were some of its strongest advocates. It's hard to not love Rust when you realize just how much pain it saves you from.

Just like Jesus!

Haha, that's some high praise!

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

#137

I love writing Rust, but I was really surprised by how difficult it was to find a job _actually_ writing Rust. I'm happy to see the increased activity in the space, but searching for a job in Rust is probably still 10x harder than C or C++. It worked out in the end, and I'm happy to be getting paid to be writing Rust every day, but I hope that the market for Rust jobs continues to grow -- ideally even faster than it…

On the reverse side of things, trying to find a C++ dev is usually harder than finding people who want to write Rust.

It's been pretty great having one of my primary languages c++ lately wrt job opportunities.

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

#138

I imagine it comes down to the handling of threads vs anything else. Technology is rapidly adopting the more cores strategy of technology since we are hitting some IPC limitations and in the server space more cores is better.

.NET supports asynchronous code very well, so that hardly seems like a likely reason for rewriting in Rust.

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

#139
post #125
post #84

Earlier quoted context omitted.

Given the number of CVEs that can be directly attributed to C and C++ you only need to be half-joking to argue that approximately nobody has managed to learn the languages sufficiently to write production code in them.

So you're saying there is no CVE in php, java, go, js, and python?

In their defence, there are entire classes of security bugs that memory safe languages protect you from. A large percentage of the security bugs in Chrome, OpenSSL, iMessage and lots of other apps wouldn’t have happened in any of the languages you listed. Or, almost certainly, in Rust.

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

#140
post #73

Earlier quoted context omitted.

I've been a C++ dev for most of my career. Not looking to change jobs at the moment, and I like C++ a lot. We still occasionally start new projects in C++ where I work. I've tinkered with rust in my spare time, but never introduced it at work. I think the borrow checker is a fantastic tool, but Rust has just never been the right tool for the domain we're in. But I'm a bit confused by your statement. There's a lot of…

It’s a red flag because you’re going to get people bring in random languages just because, then they fuck off to another job and you’re left supporting code that nobody knows.

[dead]
Post reply on HN