# Deser: A Rust Serialization Library That Never Overflows the Stack

Original title: Deser: Rethinking Rust Serialization

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

▲ 69 · by [tosh](<https://news.ycombinator.com/user?id=tosh>) · 💬 7
[original](<https://lucumr.pocoo.org/2026/9/29/deser/>) · [HN discussion](<https://news.ycombinator.com/item?id=49901149>)

## Summary

Armin Ronacher's Deser is a new Rust serialization library that inverts Serde's architecture: instead of types driving deserialization through recursive visitors, the format pushes events into heap-allocated sinks. This eliminates stack overflows, enables suspendable parsing, and provides lossless buffering with composable adapters. Deser supports JSON, YAML, TOML, CBOR, XML, and more, but accepts tradeoffs like larger binaries and mixed runtime performance. It's not a drop-in replacement, but it's a compelling experiment.

## Key quote

> In Serde, a type drives the deserialization process... Deser on the other hand turns this around and the format tells the type of the next value and pushes events into a sink.

## HN discussion (7 comments)

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

> How does this compare to facet [0][1] by fasterthanlime? Seems some of the reasoning is similar especially for compile time bloat.
>
> [0] https://facet.rs
>
> [1] https://fasterthanli.me/articles/introducing-facet-reflectio...

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

> next time just write the post yourself. I don't need an entire paragraph to explain that deser = serde but reshuffled

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

> https://www.pangram.com/history/5f1c86e9-2b47-4d36-9e64-2191...

---

## Cite

- Page: https://zeli.app/story/49901149
- Date: 2026-09-29
- Source: lucumr.pocoo.org (https://lucumr.pocoo.org/2026/9/29/deser/)
- Hacker News: https://news.ycombinator.com/item?id=49901149

## Other languages

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