Ancestors

Written by Giooschi@lemmy.world on 2024-10-27 at 15:26

A comparison of Rust's borrow checker to the one in C#

https://lemmy.world/post/21334791

=> More informations about this toot | More toots from Giooschi@lemmy.world

Written by BB_C@programming.dev on 2024-10-27 at 19:56

Is what the author calls a C# borrow checker purely lexically based? The first error message gives that impression. And if it is, then it wouldn’t qualify for any such comparisons with 2018+ Rust.

=> More informations about this toot | More toots from BB_C@programming.dev

Toot

Written by GetOffMyLan@programming.dev on 2024-10-27 at 21:00

It’s 100% not a borrow checker. Bit the author acknowledges that.

It’s just checking the scopes the variables are defined in in the first example.

=> More informations about this toot | More toots from GetOffMyLan@programming.dev

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113381399546041432
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
266.117152 milliseconds
Gemini-to-HTML Time
0.54207 milliseconds

This content has been proxied by September (ba2dc).