Encoding unit — one grounded idea

1 In Mojo, function returns by value result in owned references, allowing direct transfer without copying to functions that accept owned values.
“an RV value means you have an owned reference. So this is something that you call a function, it returns a string if you're returning a string by value. The caller gets a string back.”
spoken · 487s · 2024-05-13 · en-US · Modular · Mojo🔥: a deep dive on ownership with Chris Lattner
id: 34b9de377429e7bf
concepts in this idea