Aug 2023
31 Mon
1 Tue
2 Wed
3 Thu
4 Fri
5 Sat 11:00 AM – 01:00 PM IST
6 Sun
This will be an online meetup with no specific agenda, however we are happy to accept submissions for talks if any.
Anyone interested in Rust is welcomed to join. While we will have no specific agenda, attendees can discuss, speak or ask about
Hosted by
Swarnim Arun
I have been thinking of starting an understanding Rust series, consider this the start of it.
We will discuss dyn
in the context of Rust from the most straightforward analogies from other languages to a few practical and involved examples of its real-world usage, including some discussion around the idea of types and traits in general in Rust’s type system.
And finally, discuss how and when to use dyn
, say over impl
. Including why you can’t use it in some places at all. Eg,
trait Getter: Sized {
fn get_getter(&self) -> &'a dyn Getter { // error
self
}
}
And also discuss how you would write the above in Rust nightly.
Swarnim Arun
Rust Engineer @ DeepSource
Hosted by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}