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.
I feel like you’re giving rust a pass here. It would be a red flag if you were interviewing for react and decided to bring up vue or svelte or angular or whatever else as well. It’s not like it’s only this C++/Rust type deal that is being picked on. Although I would suggest that rust fans tend to be particularly ardent and loud at the current moment, so interviewers may be far more turned off of you as a person just…
Microsoft seeks Rust developers to rewrite core C# code
151–160 of 256 posts
Re: Microsoft seeks Rust developers to rewrite core C# code
#152Are there any rust books that have the focus of “ok you are productive in rust, this is what you should know / do to write proper rust”? Edit: ok found https://github.com/sger/RustBooks Any specific recommendations?
Re: Microsoft seeks Rust developers to rewrite core C# code
#153Earlier quoted context omitted.
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.
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.
Re: Microsoft seeks Rust developers to rewrite core C# code
#154Earlier quoted context omitted.
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.
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.
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
#155Earlier quoted context omitted.
The trick is to introduce Rust wherever you're at, assuming it's a good fit for the task. This may be harder to do if you don't have enough influence.
Yes, I did this at my startup. Fast forward a few years, and now the company has more Rust code than Python, and the majority of the company's IP is in Rust. I suggest beginning with small, one-off things that don't have much impact. People, even developers, tend to shy away from things that aren't familiar. By introducing Rust in a small, low-risk way, it helps people get familiar with it. They get to build familiar…
Re: Microsoft seeks Rust developers to rewrite core C# code
#156I 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…
I think Rust has reached to the level where many of us agree on that it's probably a good idea to move on, but probably not many of us have a good idea on how to do that. Hopefully some teams are eager to do that, so we will see some success story soon then more and more teams will explore such possibility.
Re: Microsoft seeks Rust developers to rewrite core C# code
#157Earlier quoted context omitted.
I suspect this is the .NET runtime + libraries, not applications written in C#.
No, they're looking at migrating some core Office 365 services to Rust. This is the job posting: https://jobs.careers.microsoft.com/global/en/job/1633482/Pri... At the scale of O365 it totally makes sense to look at a high performance non-GC language for your core systems that see the most traffic (I say this as a .Net dev).
Re: Microsoft seeks Rust developers to rewrite core C# code
#158Earlier quoted context omitted.
I don't care that it's hard to learn. What turns me off rust is that if I ever make a change that requires a lifetime annotation, I now have to go back through all my code potentially adding lifetime annotations to everything it touches. I was making a little toy compiler in rust and basically gave up when I wanted to make a change that would have amount to string -> string_view in c++ because in rust I now need to t…
This effect of spreading everywhere is very frequently a novice mistake of putting temporary scope-bound loans (AKA references) in structs that aren't temporary views themselves. People used to C or C++ perspective tend to reflexively (over)use references to avoid copying, but references in Rust are to avoid owning , and not-copying is handled in different ways. BTW, apart from edgiest of edge cases, &String is a use…
Can you give a few examples?
Re: Microsoft seeks Rust developers to rewrite core C# code
#159Earlier quoted context omitted.
I don't care that it's hard to learn. What turns me off rust is that if I ever make a change that requires a lifetime annotation, I now have to go back through all my code potentially adding lifetime annotations to everything it touches. I was making a little toy compiler in rust and basically gave up when I wanted to make a change that would have amount to string -> string_view in c++ because in rust I now need to t…
This effect of spreading everywhere is very frequently a novice mistake of putting temporary scope-bound loans (AKA references) in structs that aren't temporary views themselves. People used to C or C++ perspective tend to reflexively (over)use references to avoid copying, but references in Rust are to avoid owning , and not-copying is handled in different ways. BTW, apart from edgiest of edge cases, &String is a use…
How would not copying be handled?
Sorry for the basic questions. Your comment tickles something in my brain that suggests I need to know.
Re: Microsoft seeks Rust developers to rewrite core C# code
#160Earlier quoted context omitted.
I don't care that it's hard to learn. What turns me off rust is that if I ever make a change that requires a lifetime annotation, I now have to go back through all my code potentially adding lifetime annotations to everything it touches. I was making a little toy compiler in rust and basically gave up when I wanted to make a change that would have amount to string -> string_view in c++ because in rust I now need to t…
The last few versions made a lot of the lifetimes elided so you can drop them.