>Rust is known to leak memory, and compiled code can't rely on standard garbage collection.
Rust does not use GC but reference counts, you need to go out of your way and actively call for a memory leak. The part about the "explicit types required" in the the limitation sections sound weird to me too.
For anyone that does know Rust, stop here, its more fun finding them yourself ;p
> crates.io - The Rust I/O library.
This is the first time I've heard that crates.io was a lib.
> structopt - A third-party crate that provides an easy way to define a basic struct.
Apparently... you can't define `struct`s in Rust?
Also, the first line of the linked page is:
"Parse command line arguments by defining a struct. It combines clap with custom derive."
Come on, you could've spent the effort to at least read the description of a library you're linking. A copy and paste would've been more correct!
> The playground is an IDE for Rust development
The (rust playground)[play.rust-lang.org] is apparently a IDE now? ~~Don't I wish.~~
> The Rust language requires explicit declarations for types and definitions for actions. __The requirements are more rigorous than C++__, and can involve significant more time and effort to implement.
This is the first time that I found out that `struct`s were somehow more complex than... `struct`s.
> Rust is known to leak memory
What.
The quiz also seems to think that Clippy is somehow a playground specific feature.
3 comments
[ 569 ms ] story [ 1188 ms ] threadRust does not use GC but reference counts, you need to go out of your way and actively call for a memory leak. The part about the "explicit types required" in the the limitation sections sound weird to me too.
> crates.io - The Rust I/O library.
This is the first time I've heard that crates.io was a lib.
> structopt - A third-party crate that provides an easy way to define a basic struct.
Apparently... you can't define `struct`s in Rust? Also, the first line of the linked page is:
"Parse command line arguments by defining a struct. It combines clap with custom derive."
Come on, you could've spent the effort to at least read the description of a library you're linking. A copy and paste would've been more correct!
> The playground is an IDE for Rust development
The (rust playground)[play.rust-lang.org] is apparently a IDE now? ~~Don't I wish.~~
> The Rust language requires explicit declarations for types and definitions for actions. __The requirements are more rigorous than C++__, and can involve significant more time and effort to implement.
This is the first time that I found out that `struct`s were somehow more complex than... `struct`s.
> Rust is known to leak memory
What.
The quiz also seems to think that Clippy is somehow a playground specific feature.