'Building Software Extensions in Rust using WebAssembly Components” by Alexander Radovici

preview_player
Показать описание
This talk will present how Rust’s lack of a standard Application Binary Interface (ABI) can be solved.
The lack of a standard ABI in Rust means that the whole source code has to be available to the compiler. While this is less of a problem for applications, it makes writing shared libraries in Rust impossible, unless they expose items through the Foreign Function Interface (FFI) or, in other words, the C ABI. This renders Rust's type and memory model useless. This talk will explore the ways in which WebAssembly Components can be used to build extension libraries in Rust avoiding the FFI and exposing rich data types and provide a safe memory mode. It will provide insights into several ways in which widely used Rust projects, such as Zed and Zellij have implemented extensions.
Рекомендации по теме