Tagged articles

serde

2 articles · Page 1 of 1
Rust High-Frequency Quantitative Trading
Rust High-Frequency Quantitative Trading
Mar 18, 2026 · Fundamentals

Deep Dive into Rust’s High‑Performance String Interning Library ustr

The article explains how Rust’s ustr library implements string interning to store each unique string only once, offering O(1) pointer‑based comparison, pre‑computed hashing, zero‑cost cloning, seamless C FFI, and thread‑safe usage, while also detailing its internal design, usage patterns, suitable scenarios, and trade‑offs.

FFIPerformanceRust
0 likes · 14 min read
Deep Dive into Rust’s High‑Performance String Interning Library ustr
JD Cloud Developers
JD Cloud Developers
Aug 4, 2022 · Backend Development

Mastering YAML Configuration in Rust: A Practical Guide

This article walks through handling YAML configuration files in Rust, demonstrating how to define a Config struct, implement default values and utility methods, initialize a global singleton with lazy_static, and load configurations conditionally in a command‑line application.

ConfigurationRustYAML
0 likes · 5 min read
Mastering YAML Configuration in Rust: A Practical Guide