Mar 2023
6 Mon
7 Tue
8 Wed
9 Thu
10 Fri
11 Sat 11:00 AM – 01:30 PM IST
12 Sun
Mar 2023
6 Mon
7 Tue
8 Wed
9 Thu
10 Fri
11 Sat 11:00 AM – 01:30 PM IST
12 Sun
Swarnim Arun
Learning Rust can be quite tedious, not knowing what to do when the borrow checker is complaining and how to structure your code around, feels like it is more pain than it’s worth sometimes.
Hence this talk is about stepping through some code examples, that may not work, and look at borrow checker complaints, and how to improve the code to calm it down. And possibly help build the intuition to understand what the borrow-checker truly wants from us.
We shall also discuss some code-related things in Rust that allow for escape from this mess(a discussion on understanding Cells and Send, Sync markers) and some examples where Rust’s borrow-checking saved my bacon in production code, where C++ would have left me hanging.
Swarnim Arun
Rust Engineer @ DeepSource
Prerequisites for the talk:
Mar 2023
6 Mon
7 Tue
8 Wed
9 Thu
10 Fri
11 Sat 11:00 AM – 01:30 PM IST
12 Sun
Hosted by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}