e013: Staying alive

Published: April 4, 2016, 11:52 p.m.

b'

Reasoning about and using lifetimes in Rust (and why we need them)

\\n\\n

Notes

\\n

Lifetimes are our way of reasoning about how long a given piece of data is\\n
available and safe to use in Rust. The reason we don\'t have the dangling\\n
pointer problem is that we do have lifetimes instead. They\'re not magic,\\n
they\'re just a bit of semantics and syntax that let us specify the rules for\\n
how long any given item lives, and how long references to data must be valid.

\\n\\n

Links

\\n\\n
\\n
\\n

Sponsors

\\n
    \\n
  • Aleksey Pirogov
  • \\n
  • Chris Palmer
  • \\n
  • Derek Morr
  • \\n
  • Hamza Sheikh
  • \\n
  • Lachlan Collins
  • \\n
  • Leif Arne Storset
  • \\n
  • Luca Schmid
  • \\n
  • Micael Bergeron
  • \\n
  • Pascal Hertleif
  • \\n
  • Ralph Giles ("rillian")
  • \\n
  • Ralph "FriarTech" Loizzo
  • \\n
  • reddraggone9
  • \\n
  • Ryan Ollos
  • \\n
  • Vesa Kaihlavirta
  • \\n
  • William Roe
  • \\n
\\n\\n

(Thanks to the couple people donating who opted out of the reward tier, as\\n
well. You know who you are!)

\\n\\n

Become a sponsor

\\n\\n\\n

Contact

\\n'