Rust Daily Report – May 6, 2024: Fundamentals of WebAssembly

Plugins in Rust

This article introduces how to safely load shared libraries in Rust and further discusses how to use it to extend the language.

When discussing how to load shared libraries in Rust, the author demonstrates how to use the libloading library’s Library and Symbol data structures to achieve this. It also discusses ensuring type safety across FFI boundaries and the issue of Rust’s ABI instability, introducing the use of the abi_stable library to address it.

Original link: https://uberfoo.rs/blog/plugins

Asynchronous Rust Implementation of a Download Accelerator

This article describes the practical process of building a download accelerator using asynchronous Rust. The download accelerator improves download speed by downloading different parts of files in parallel over multiple HTTP connections.

Original link: https://ochagavia.nl/blog/download-accelerator-async-rust-edition/

Fundamentals of WebAssembly

This blog post is the first in the “Wasm in the Wild” series, where the author guides readers through the workings and design philosophy of WebAssembly (or Wasm).

The author shares his experiences in programming learning and career, including his journey starting with WebAssembly in 2019 and his process towards implementing a game written in Rust.

Original link: https://www.jakobmeier.ch/wasm-road-0

From the Daily Report Team BobQ, FBI Xiaobai

Community Learning and Exchange Platform Subscription:

  • Rustcc Forum: Supports RSS
  • WeChat Official Account: Rust Language Chinese Community

Leave a Comment