7 comments

[ 4.4 ms ] story [ 29.5 ms ] thread
I failed to find a single a single paragraph in this article that does not contain some misconception that renders it misleading to a beginner. It's impressive really.
> Rust guarantees memory safety with a feature called ownership. Ownership works differently from a garbage collector in other languages, because it simply consists of a set of rules that the compiler needs to check at runtime.

At runtime?

Some at compile time, some at runtime (RefCell).
still, compile time would have been correct. if the checks were at runtime, it wouldn't be different from a GC.
“Both” runtime and compile time would be correct.

Runtime checks has nothing to do with GC. Bounds checking has nothing to do do with GC for example.

The compiler has nothing to do with the runtime checks. The quoted sentence makes it seem like there's a rust runtime, which there isn't.
Misleading title. This is a beginner introduction, no mastery to be seen. The examples are confusing and partly misleading.