Posts
All the articles I have published.
-
Implementing DHT11 Sensor Reading in Rust
Published date:Detailed explanation of implementing DHT11 temperature and humidity sensor reading using Rust programming language, including single-bus communication protocol analysis, timing diagrams, and code implementation steps.
-
Using Rust for Embedded Development: Comparative Analysis of C and Rust Implementations for DHT11 Temperature and Humidity Sensor on ESP32S3
Published date:In-depth comparison of C and Rust implementations for DHT11 temperature and humidity sensor on ESP32S3 development board, detailing slow response issues encountered with the C version and the impact of CPU task scheduling, providing complete code examples and debugging experience sharing.
-
Controlling WS2812 LED with ESP32-S3: C vs Rust Implementation
Published date:This article compares the implementation of controlling a WS2812 LED with ESP32-S3 using both C and Rust languages. It covers hardware setup with GPIO 48, toolchain configuration for both languages, and provides complete code examples for each approach. The comparison highlights differences in development experience, library usage, and performance considerations between traditional ESP-IDF C development and modern Rust embedded development.
-
Some Thoughts on Implementing Tencent's Translation Model hy-mt-1.8b with Candle
Published date:Sharing experiences and insights on implementing Tencent's lightweight translation model hy-mt-1.8b using the Candle framework in Rust, including observations on its simple architecture and GPU execution.
-
Errors Encountered When Running Yolov10 Model with Rust Candle Framework on GPU
Published date:Documenting issues encountered when running the Yolov10 model on GPU using the Rust Candle framework, specifically CUDA driver errors related to the topk function implementation.
-
How to Implement a Circular Progress Bar in Rust GPUI Framework
Published date:Detailed guide on implementing a circular progress bar component in the Rust GPUI framework, including using canvas API for advanced graphics drawing and supporting both animated loading and progress display modes.
-
3D Convolutional Layers in Rust Candle
Published date:Exploring the lack of 3D operators in the Candle framework and how to simulate 3D convolution using 2D convolutions, particularly for handling video data tasks with time-dimension constraints.
-
PyTorch Equivalent Operations in Rust Candle
Published date:Documenting equivalent operations between PyTorch and Rust Candle, including implementations of scaled dot-product attention (SDPA) and linspace functions with code examples.
-
Optimizing Memory Allocators When Deploying Rust Projects with Musl
Published date:This article introduces methods to significantly improve performance by replacing the default memory allocator when deploying Rust projects using musl libc, and provides specific performance comparison test data.
-
Modern Rust GUI Development Framework: Similarities between GPUI and TailwindCSS
Published date:Exploring the similarities between GPUI's API and TailwindCSS, focusing on atomic design approach for UI styling, ElementId usage, and the differences between Render and RenderOnce traits.
-
Some Operations with Termux
Published date:Exploring useful operations with Termux on Android, including enabling file system access, setting up SSH service, and troubleshooting ADB connection issues for file transfer.
-
What are the issues with Tauri?
Published date:This article explores the core issues with the Tauri framework, particularly cross-platform consistency problems and its differentiated positioning compared to Electron, while also analyzing potential solutions.