Tech Blog

Frontend deep dives, architecture design, performance optimization, and development insights

编程语言

Rust Tokio Channels: 6 Patterns from mpsc to Broadcast

From mpsc channels to oneshot, broadcast to watch, backpressure handling to production async communication design

RustTokioChannel异步编程mpsc
编程语言

WASM Component Model: Build Cross-Language Components in Rust

From WIT interface definition to component composition and WASI Preview2 cross-language interop — a complete WebAssembly Component Model development guide

WASM组件模型WebAssembly ComponentWASI Preview2跨语言WASMWIT接口定义
编程语言

Rust Macro Metaprogramming: Declarative to Procedural Macros

From macro_rules! declarative macros to derive macros, attribute macros, function-like procedural macros, and production code generation with syn/quote

Rust宏声明宏过程宏元编程代码生成
编程语言

Rust Memory Safety & Ownership Mechanism Deep Dive

Deep understanding of Rust ownership, borrowing, lifetimes, and smart pointers, with diagrams, compile error fixes, and a C/C++ migration perspective.

Rust内存安全所有权生命周期教程
编程语言

Rust TCP Proxy: 5 Core Optimizations for 1M Connections

Complete guide to building a high-performance TCP proxy in Rust, covering Tokio async, SO_REUSEPORT dispatch, zero-copy splice, and io_uring IO

Rust TCP代理高性能网络Tokio零拷贝io_uring
技术架构

Building a Lightweight LLM Inference Engine in Rust: Candle

Build a single-binary LLM inference service in Rust with candle — memory safety, zero-copy tensor operations, and an honest throughput comparison vs vLLM.

RustLLM推理轻量部署candle推理引擎
编程语言

Rust no-std Embedded Development: Bare Metal Firmware 2026

A guide to Rust no-std embedded development covering Cortex-M bare metal startup, peripheral drivers, interrupt handling, and RTOS integration.

Rust no-std嵌入式开发裸机固件ARM Cortex嵌入式Rust
前端工程

Rust Eats the Frontend Toolchain: Turbopack, Rolldown, Biome

How Rust is revolutionizing frontend tooling in 2026: a deep dive into Turbopack, Rolldown, Biome, and SWC with benchmarks and migration guides.

RustTurbopackRolldownBiomeSWC
编程语言

Rust SQLx Database Driver: 5 Patterns for Pooling & Async

Complete guide to the Rust SQLx database driver covering compile-time query checking, connection pooling, transactions, migrations, and type mapping

RustSQLx数据库异步查询PostgreSQL
编程语言

Rust Database Kernel: LSM-Tree Storage Engine in 6 Modules

Complete guide to building a database storage engine in Rust, covering MemTable with skip list, SSTable persistence, WAL, Compaction, and Bloom Filter

Rust数据库内核存储引擎LSM TreeB+TreeWAL
编程语言

Rust Axum Web Framework: 5 Patterns for Routing & Middleware

From Axum route design to middleware implementation, state management to error handling for complete Rust web development

RustAxumWeb框架中间件异步HTTP
编程语言

Rust CLI Tool Development: 5 Patterns from Args to Terminal UI

From clap argument parsing to Ratatui terminal UI, config management to cross-platform distribution for complete Rust CLI development

Rust CLIclap命令行工具终端UIRatatui
编程语言

Rust Axum Middleware Auth: 6 Patterns from JWT to RBAC

From JWT validation to API key auth, RBAC to rate limiting, session management to production security patterns

RustAxum中间件JWT认证鉴权
编程语言

Rust Axum OpenAPI: Auto-Generating API Docs with utoipa

From Schema derivation to path annotations, Swagger UI to production-grade API documentation—complete guide to Rust Axum OpenAPI

Rust AxumOpenAPIutoipaAPI文档
编程语言

Rust Actor Model Framework: Message Passing to Supervision

From Actix actor system to Tokio channel-based actors, supervision trees to distributed actors, graceful shutdown to backpressure control

Rust ActorActixTokio并发模型消息传递
后端开发

Rust Async Runtimes 2026: Tokio vs async-std vs smol

Deep dive comparison of Rust async runtimes with benchmark results, migration guides, and practical recommendations for production services

Rust异步运行时Tokio vs async-std异步编程性能对比
前端工程

ResizeObserver + Container Queries: Element-Level Layouts

Guide to ResizeObserver API and CSS Container Queries for element-level responsive layouts independent of the viewport, compared with media queries.

ResizeObserver响应式容器查询元素尺寸布局
前端工程

CSS Container Queries: 5 Component-Level Responsive Patterns

From Container Query syntax to component-level responsive design and container query units — a complete production-grade CSS container query implementation

容器查询响应式设计CSS Container Query组件级响应
工具教程

Image Compression Guide 2026: Lossless & Lossy in the Browser

From JPEG/PNG/WebP/AVIF format internals, lossy vs lossless, Canvas + toBlob API, Web Worker multi-threading, to CI/CD automated compression.

图片压缩WebPAVIFCanvas前端优化
数据库

Redis Streams Event-Driven: Consumer Groups to Event Sourcing

From consumer groups to XREAD/XADD, event sourcing to CQRS, dead letter handling to production message processing

RedisStreams事件驱动消息队列Consumer Group