bapbaj
bapbaj
MModular
Created by bapbaj on 7/10/2024 in #questions
Returning references
Got it, thanks 🙂
9 replies
MModular
Created by bapbaj on 7/10/2024 in #questions
Returning references
https://github.com/modularml/mojo/blob/main/proposals/lifetimes-and-provenance.md I was reading this and it said that it's "impossible to return references." Is this doc outdated then?
9 replies
MModular
Created by bapbaj on 7/10/2024 in #questions
Returning references
Thanks, I saw that, but it wasn't clear to me: is Reference compiled to a simple pointer, or is it some reference-counted thing?
9 replies