4 ms·
The point is to make points in a simple environment. Anything small enough to clearly make points about unsafe Rust is almost certainly small enough to be done
by jerf 5y ago
The point is to make points in a simple environment.
Anything small enough to clearly make points about unsafe Rust is almost certainly small enough to be done in safe Rust, defeating the purpose.
- malf 5y agoIf it’s too big for an example, it’s almost certainly too big for “trust me, I know this is safe”.
- albrewer 5y agoI don't see how you can make this claim. An example is meant to be understandable after a cursory introduction and communicate an idea to the reader. If it takes me a day to understand the "example", it's not useful as an example, but real problems often take that long to completely understand in any language.