Skip to content

Comment on Box to save memory in Rustparent

Comments

Niche values: fair! You can't just scan memory looking for 0000000000... (... for some types at least)

But if a debugger can show you all values of type X, and the compiler defines null-y values of X, surely there's some way? That still doesn't seem complicated, just not as overwhelmingly-trivial as some languages.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.