News for hackers. Stuff that matters.
Re:Memory Safe Languages in Android 13 by masklinn on Thursday December 01, 2022 @05:58PM (#33824202)
An other bit I first saw observed by Armin Ronacher and which is indeed quite common is that Rust does not require you to be defensive (and pay the price) around protected resources e.g. you can hand out references to rc’d types or mutex’d, and you know it’s safe, if a bit constraining.

And so you save the overhead of the extra refcounting or the re-entrant locks (though that would be unsound anyway), and you can safely use anything which works off of references.

There are no comments on this comment yet.