Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 651 Bytes

File metadata and controls

13 lines (7 loc) · 651 Bytes

Trait

We conducted a study to clearly understand how calls to functions with traits implemented in Rust differ from calls to normal functions and whether we can identify a source that implements traits.

Study results

For static dispatches where no virtual function table (VTable) is available, which can be seen in dynamic dispatch reference, we cannot find any definitive difference from calls to normal functions and, at the assembly level, it is difficult to identify a source that implements traits.

We obtained the same results for 32-bit binaries, size-minimized binaries and debug builds.

Details

Omitted