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

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

# Memory Management

1 article

 [![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)
