---
author: "Umesh Malik"
canonical: "https://umesh-malik.com/blog/tag/rust"
description: "Explore articles tagged with Rust by Umesh Malik — AI Engineer, LLM & GenAI Developer. Learn Rust best practices, practical tips, and in-depth guides."
title: "Umesh Malik's Blog - Rust Articles | Rust Tutorials"
tokens: 821
generator: "scripts/generate-page-markdown.mjs"
---

[← Back to Blog](https://umesh-malik.com/blog)

# Rust

6 articles

 [![Dashboard-style cover showing Kimi K3's 2.8 trillion parameters streamed from four SSDs to a MacBook at 1 token per second](https://umesh-malik.com/blog/run-kimi-k3-locally-macbook-ssd-streaming-cover.png)

LLM Engineering • Sep 9, 2026

### Run Kimi K3 Locally: 2.8T Params From 4 SSDs at 1 Tok/s

Run Kimi K3 locally on a MacBook by streaming 1.45TB of experts from four SSDs — the 1 tok/s number, and why doubling drives doesn't double speed.

7 min read

Read more →](https://umesh-malik.com/blog/run-kimi-k3-locally-macbook-ssd-streaming)

 [![Dashboard-style cover comparing Rust's 8-byte thin pointer against the 16-byte dyn Trait fat pointer with vtable indirection](https://umesh-malik.com/blog/rust-dyn-trait-vs-generics-memory-cost-cover.png)

Web Engineering • Sep 6, 2026

### Rust dyn Trait vs generics: how to switch, and the 16-byte cost

Rust dyn Trait vs generics: how to switch, and the 16-byte fat-pointer cost dyn Trait pays on every call — the cost generics compile away.

8 min read

Read more →](https://umesh-malik.com/blog/rust-dyn-trait-vs-generics-memory-cost)

 [![Dashboard-style cover for reducing a Rust struct's memory footprint, showing five layout techniques and a 953-to-420-byte result](https://umesh-malik.com/blog/reduce-rust-struct-memory-footprint-cover.png)

Web Engineering • Sep 4, 2026

### How to Reduce Rust Struct Memory Footprint: 5 Techniques, 56% Smaller

How to reduce Rust struct memory footprint: the 5 layout changes that shrank a real cache entry from 953 to 420 bytes, and what each one costs.

10 min read

Read more →](https://umesh-malik.com/blog/reduce-rust-struct-memory-footprint)

 [![Memory comparison between rust-analyzer and Rust Glancer showing the dramatic reduction from gigabytes to under 100MB](https://umesh-malik.com/blog/rust-glancer-low-memory-lsp-cover.png)

AI Coding Agents & DX • Aug 23, 2026

### Rust LSP Low Memory: How to Run Glancer Locally on 8GB RAM

Rust LSP low memory is achievable: Rust Glancer runs on 8GB machines by freezing analysis at save and offloading to disk.

8 min read

Read more →](https://umesh-malik.com/blog/rust-glancer-low-memory-lsp)

 [![Rust GPU offload safety and performance: ownership rules managing host-device transfers, benchmarked against hand-tuned CUDA and HIP](https://umesh-malik.com/blog/rust-safe-gpu-offload-benchmarks-cover.png)

AI Engineering • Aug 19, 2026

### Rust GPU Offload Without unsafe: The 400x Mistake That Isn't Safety

Rust GPU offload now works without unsafe code. Real benchmarks: 11% faster to 46% slower than CUDA on an H100, and a transfer bug that costs 400x more.

8 min read

Read more →](https://umesh-malik.com/blog/rust-safe-gpu-offload-benchmarks)

 [![Rust LLM policy: AI allowed for review and analysis, banned for creating code and prose](https://umesh-malik.com/blog/rust-llm-policy-ai-generated-code-cover.png)

AI Coding Agents & DX • Aug 6, 2026

### Rust LLM Policy: Use AI to Review, Not to Create

The Rust LLM policy bans AI-created code and prose but allows AI review, analysis, and bug-finding. Here's the exact rule, why it works, and how to copy it.

10 min read

Read more →](https://umesh-malik.com/blog/rust-llm-policy-ai-generated-code)
