News for hackers. Stuff that matters.
Re:Rustler is a library for writing Erlang NIFs in safe Rust... by cesarb on Monday September 16, 2019 @04:10PM (#20988084)
> the important thing to realize is that changing the lifetime parameters in a function will never change the user-visible semantics of the code

To reiterate: the lifetime parameters are used only to check the code for errors, they are discarded after that and don't affect the code generation. There's even an alternative compiler for Rust (mrustc) which completely ignores them and the rest of the borrow checking stuff, assuming the code is correct.

There are no comments on this comment yet.