---
title: "Discussion on \"Verifying Why zeroize Matters: Dead-Store Elimination and Memory Remanence in Rust\" | Hashnode"
description: "Discussion on \"Verifying Why zeroize Matters: Dead-Store Elimination and Memory Remanence in Rust\". I compiled naive vs. volatile zeroing loops in C and Rust to verify why zeroize's write_volatile is needed - and why the optimizer isn't wrong."
url: "https://hashnode.com/posts/verifying-why-zeroize-matters-dead-store-elimination-and-memory-remanence-in-rust/6ab2024adbc8a35057017afd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Verifying Why zeroize Matters: Dead-Store Elimination and Memory Remanence in Rust](https://quietbytes.hashnode.dev/verifying-why-zeroize-matters-dead-store-elimination-and-memory-remanence-in-rust?utm_source=hashnode&utm_medium=feed)

I compiled naive vs. volatile zeroing loops in C and Rust to verify why zeroize's write\_volatile is needed - and why the optimizer isn't wrong.

Sep 22 · 7 min read · quietbytes.hashnode.dev  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#cryptography](https://hashnode.com/tag/cryptography)
-   [#system-design](https://hashnode.com/tag/system-design)
-   [#security](https://hashnode.com/tag/security)
-   [#compilers](https://hashnode.com/tag/compilers)

## Written by

[Renukashree Murali](https://hashnode.com/@quietbytes)

@quietbytes · Chennai, India

  
[View profile](https://hashnode.com/@quietbytes)

Building defensively. Thinking privately.

Cybersecurity graduate focused into privacy engineering and IAM. I write about the projects I build - what worked, what broke, and what I'd do differently. 👾

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
