alt.hn

4/16/2026 at 6:11:40 AM

Zero-Copy Pages in Rust: Or How I Learned to Stop Worrying and Love Lifetimes

https://redixhumayun.github.io/databases/2026/04/14/zero-copy-pages-in-rust.html

by ingve

4/20/2026 at 10:58:03 PM

Just a heads up: I know it's cool to generate ASCII art with Claude code these Days but for some reason checks the output? Non of the diagrams in the article look correct to me. They all have spacing issues?

by arianvanp

4/21/2026 at 6:08:59 AM

Were they generated by D2? I tested naive generation without extra hints/layout settings, and its ascii charts leave a lot to be desired (including worse artifacts than that, like creating too-narrow charts and text overwriting other text that's too close). SVG output might have been much better.

by harshreality

4/21/2026 at 12:08:56 AM

You're probably seeing an Android bug. The default Android monospace font borks the spacing of box-drawing characters. It's been like that for several years. EDIT the same thing might happen on some niche Linux distros

by wonger_

4/21/2026 at 12:10:46 AM

No I see it on a non-android device too. But it's not as egregious as most vibe-coded ascii diagrams to be fair.

by slopinthebag

4/21/2026 at 12:12:47 AM

Ah my bad! Didn't scroll down far enough. Shame. Maybe the fi ligature messed up their spacing.

by wonger_

4/21/2026 at 3:53:13 AM

Lifetime annotations on page references get unwieldy fast once you introduce concurrent readers. Curious whether you considered using Arc with a custom drop instead of fighting the borrow checker there.

by sofiamateo57

4/21/2026 at 7:01:39 AM

It is kinda trite to use something like “stop worrying and love xxx” now.

Also the whole post looks too long, maybe from some sort of AI?

by up2isomorphism