News for hackers. Stuff that matters.
Re:Microsoft seeks Rust developers to rewrite core C# code by merb on Saturday February 03, 2024 @04:36PM (#39244981)
The last few versions made a lot of the lifetimes elided so you can drop them.
Re:Microsoft seeks Rust developers to rewrite core C# code by pdimitar on Saturday February 03, 2024 @08:04PM (#39246458)
Do you have a direct link? I'd love to read more.
Re:Microsoft seeks Rust developers to rewrite core C# code by merb on Sunday February 04, 2024 @06:18AM (#39249371)
Sadly not. But between 1.5x and 1.7x a lit of things changed, especially around traits and there is clippy which actually helps. So our functions barely need lifetimes anymore.
Re:Microsoft seeks Rust developers to rewrite core C# code by winrid on Sunday February 04, 2024 @04:17AM (#39248781)
I feel like this has been this way for at least two years, too?
Re:Microsoft seeks Rust developers to rewrite core C# code by merb on Sunday February 04, 2024 @06:15AM (#39249353)
Well maybe we started with 1.5x or so and especially impl trait‘s made a lot of things easier. We barely have lifetimes in our rust code.