Rust Daily Report – May 13, 2024: Developing VS Code Extensions with Rust

Developing VS Code Extensions with Rust Visual Studio Code now supports running WASM binaries through WebAssembly execution engine extensions. This allows developers to compile programs written in Rust to WebAssembly and run them directly in VS Code. The key technology in this process is the component model, which standardizes the interaction between WebAssembly components and … Read more

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

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 … Read more

SIMD Acceleration of H.265 Decoding with WebAssembly FFmpeg

SIMD Acceleration of H.265 Decoding with WebAssembly FFmpeg

1. What is WebAssembly WebAssembly is a bytecode format, a concept that is not new, similar to JVM and .NET bytecode. What makes WebAssembly special? Browsers support running WebAssembly programs C, C++, and Rust programs can be directly compiled into WebAssembly bytecode It can be said that WebAssembly bridges the gap between the vast front-end … Read more

Effective Approaches for Rust Newcomers

Effective Approaches for Rust Newcomers

Mozilla RustThe official team provides an extensive and high-quality eBook and technical documentation, which is enough for us to read directly.Moreover, I guarantee you won’t finish it because they are continuously updated with newrust versions, and occasionally there are new books on specific topics (for example, async programming, macros, cargo book, rustc book, etc.).I feel … Read more

Boost Frontend Development Efficiency by 300% with Rust-Web-Sys

Boost Frontend Development Efficiency by 300% with Rust-Web-Sys

In frontend development, calling Web APIs is an inevitable operation, especially when we want to interact with the browser environment. Today, let’s talk about how to use Rust-Web-Sys to call Web APIs and see how we can boost our frontend development efficiency by 300%. What is Rust-Web-Sys? Rust-Web-Sys is a Rust library for generating interactions … Read more

TonboLite – SQLite Extension Based on Tonbo

TonboLite - SQLite Extension Based on Tonbo

Swiftide – Develop AI Agent with Rust Example of searching code with ripgrep. #[swiftide_macros::tool( description = "Searches code", param(name = "code_query", description = "The code query") )] async fn search_code( context: &dyn AgentContext, code_query: &str, ) -> Result<ToolOutput, ToolError> { let command_output = context .exec_cmd(&Command::shell(format!("rg '{code_query}'"))) .await?; Ok(command_output.into()) } agents::Agent::builder() .llm(&openai) .tools(vec![search_code()]) .build()? .query("In what … Read more

WebAssembly Empowerment: How Rust Reshapes Frontend Development

WebAssembly Empowerment: How Rust Reshapes Frontend Development

First, let’s talk about the book giveaway. This issue offers readers a chance to win a copy ofPeople’s Posts and Telecommunications Press‘s‘Rust Programming’, a comprehensive guide that explains the core concepts and advanced features of the Rust language in an accessible manner, suitable for developers of all levels to learn and master modern system programming … Read more