> "Clever" memory use is frowned upon in Rust. In C, anything goes. For example, in C I'd be tempted to reuse a buffer allocated for one purpose for another purpose later (a technique known as HEARTBLEED).


· · Web · 1 · 2 · 4

It is not frowned upon. If you try the compiler will cut you in half, eat your beating heart and feed the rest to rabid dingoes. Rust cares about sanity. 😁

Sign in to participate in the conversation

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!