Tag: Rust
All the articles with the tag "Rust".
-
Tauri Development in Practice: Window Management and Cross-Platform Experiences Beyond Documentation
Published date:This article shares some practical issues and solutions encountered when developing desktop applications with Tauri, including dynamic window detection, menu bar hiding and custom window control, handling differences across three platforms (Windows/macOS/Linux), and a comparison of development experiences between Tauri and Dioxus.
-
Tauri Practical Tips: Dynamic Window Detection and Error Handling
Published date:This article introduces how to properly handle duplicate window detection issues during dynamic window creation when developing desktop applications with Tauri, avoiding program crashes caused by duplicate window labels, and provides corresponding error handling solutions.
-
Implementing MCP Protocol with Rust: Building External Tool Plugins for Large Models
Published date:This article introduces the concept and implementation of the MCP (Model Context Protocol), explains in detail how to develop an MCP service using Rust, demonstrates the implementation process of a crate documentation query tool through actual code examples, and introduces how to configure and use an MCP Server in VS Code.
-
Rust Tauri v2 Desktop App Development: Unconventional Windows and System Permissions Handling
Published date:This article delves into the technical details of developing unconventional window applications (such as screenshot tools, floating windows, desktop lyrics, etc.) using Tauri v2 and Rust, including multi-window management, system permission requests (especially macOS ScreenRecording permission), and permission-window association configuration.
-
Is Rust Suitable for AI Model Inference?
Published date:Examining the suitability of Rust for AI model inference, comparing popular frameworks like tch-rs, ONNX Runtime, and Candle, and discussing their advantages and disadvantages in different deployment scenarios.
-
Function Calling with Large Language Models in Rust
Published date:Exploring how to implement function calling capabilities with large language models in Rust, demonstrating practical examples using the DashScope API to call Qwen models, including the complete function calling workflow and key implementation code.
-
Using Bit Masks for Conditional Checks in Rust
Published date:Exploring how to use bit masks (or bit flags) for efficient conditional checks in Rust, particularly useful for managing multiple state flags with high performance and low memory usage.
-
JNI in Rust
Published date:Exploring how to use JNI (Java Native Interface) to enable interaction between Java/JVM platform languages and Rust, including type mappings and implementation details.
-
Building a Handwriting Input Method from Scratch: Conclusion
Published date:Wrapping up the series on building a handwriting input method from scratch, discussing the complete implementation, challenges faced, and lessons learned throughout the project.
-
Building a Handwriting Input Method from Scratch: WASM Deployment
Published date:Deploying the trained handwriting recognition model to WebAssembly using Rust, enabling efficient client-side recognition in web browsers.
-
Building a Handwriting Input Method from Scratch: Model Inference
Published date:Implementation of handwriting recognition model inference using Rust Candle, focusing on optimizing performance and efficiency for real-time applications.
-
Building a Handwriting Input Method from Scratch: Model Training
Published date:Detailed guide on processing the CASIA-HWDB dataset and training a handwriting recognition model for Chinese characters using PyTorch, including dataset preprocessing and model implementation.