Cloning a reference and method call syntax in Rust

A short example of a possibly surprising impact of how method resolution works in Rust… Read more

Similar

Inbound and Outbound FFI – Possible Rust

Foreign Function Interfaces (FFI) are a core mechanism for enabling integration of new languages into existing codebases or building on existing libraries. That said, the term “FFI” is often overloaded in ways that may be unclear or ambiguous, and the are... (more…)

Read more »

A Type Safety Hole in Unsafe Rust

There seems to be a widespread belief among Rust programmers that bypassing the borrow checker does not completely compromise type safety. This article attempts to show the converse, that lifetime checks are absolutely essential for type safety, even if ... (more…)

Read more »