3 ms·
>"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 purp
by ykonstant 3y ago
>"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).
That was a funny one!
Edit: after reading the whole article, I found it very useful; it contains lots of information about parallelism both on C and Rust. I would say it is excellent for a beginner in that stuff.