# Eurydice compiles Rust into clean, readable C code

Original title: Compiling Rust to readable C with Eurydice

> Hacker News story 50027853 · language: en · submitted 2026-10-09
> Web version: https://zeli.app/story/50027853
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 140 · by [peter_d_sherman](<https://news.ycombinator.com/user?id=peter_d_sherman>) · 💬 39
[original](<https://lwn.net/Articles/1055211/>) · [HN discussion](<https://news.ycombinator.com/item?id=50027853>)

## Summary

Eurydice, part of the Aeneas project, converts Rust into C while preserving code structure, unlike rustc's LLVM output. It targets high-assurance software where verification tools expect C. The tool handles generics and dynamically sized types, though it currently works best for small, self-contained programs. It has been used for post-quantum cryptography routines.

## Key quote

> Whether this C code counts as "readable" is probably a matter of individual taste.

## HN discussion (39 comments)

### [weinzierl](<https://news.ycombinator.com/item?id=50032365>)

> I highly recommend checking out the other projects from AeneasVerif
>
> (and Jonathan Protzenko).
>
> Scylla is kind of Eurydice's dual. But also Charon and the eponymous Aeneas.
>
> Also, 
>
> "There is ongoing work to integrate Eurydice-generated code for both Microsoft and Google’s respective crypto libraries." [1]
>
> which I find incredibly cool. This link is also a brilliant intro to Eurydice.
>
> [1] https://jonathan.protzenko.fr/2025/10/28/eurydice.html

### [nlehuen](<https://news.ycombinator.com/item?id=50032299>)

> \> readable C
>
> \> return uu____0;
>
> If readability is the selling point, why not go the extra millimeter and add a heuristic so that this variable is named return_value for instance?

### [stabbles](<https://news.ycombinator.com/item?id=50030431>)

> If it's readable C, this sounds great for a full source bootstrap of the rust compiler.

### [Neywiny](<https://news.ycombinator.com/item?id=50028376>)

> I wish this covered more features specific to rust that make it more runtime safer not just compile time safer. I guess by the time it's IR it's the same but moving it back up to C would be nice to see. Like bounds checking.

### [chias](<https://news.ycombinator.com/item?id=50029819>)

> What an excellent choice of product name :D
>
> "You're da C"

---

## Cite

- Page: https://zeli.app/story/50027853
- Date: 2026-10-09
- Source: lwn.net (https://lwn.net/Articles/1055211/)
- Hacker News: https://news.ycombinator.com/item?id=50027853

## Other languages

- zh: https://zeli.app/zh/story/50027853 · markdown: https://zeli.app/zh/story/50027853.md
- ja: https://zeli.app/ja/story/50027853 · markdown: https://zeli.app/ja/story/50027853.md
- ko: https://zeli.app/ko/story/50027853 · markdown: https://zeli.app/ko/story/50027853.md
- de: https://zeli.app/de/story/50027853 · markdown: https://zeli.app/de/story/50027853.md
- es: https://zeli.app/es/story/50027853 · markdown: https://zeli.app/es/story/50027853.md
- ru: https://zeli.app/ru/story/50027853 · markdown: https://zeli.app/ru/story/50027853.md
