rustlings icon indicating copy to clipboard operation
rustlings copied to clipboard

arc1 way too difficult for progression

Open quangvdao opened this issue 2 years ago • 3 comments

Hi,

I'm going through the exercises, and it seems that arc1.rs is a bit out of place. It doesn't relate to any other exercises in standard_library_types, and the solver probably has to read most of the concurrency chapter before being able to do it. Perhaps a better home for this would be in threads, and we could add more exercises about concurrency?

quangvdao avatar Aug 04 '21 08:08 quangvdao

Hi, i actually ran into the same issue (as i'm using this as a resource to reinforce my rust book reading) - how rustlings works is that it reads from info.toml to determine the list of exercises to do and the order; a simple fix for this would be to simply edit the info.toml file on the client end but i definitely think that the solution should be 2 fold:

  1. shift box + arc down below iterators.rs
  2. add a section called Chapter 15 in the README.md for smart pointers (the actual chapter in the book that relates to this) + shift the related exercises there

i can make the PR if this seems reasonable!

seaerchin avatar Dec 01 '21 17:12 seaerchin

I agree with all of this. I was cruising through all these exercises and then this one stumped me hard... this was the first one where I NEEDED the hint to proceed.

th317erd avatar Feb 17 '22 23:02 th317erd

Expanding on this: the order in the book is iterators, then box, then concurrency/arc; the toml just needs re-ordering to match.

rlpowell avatar Jun 19 '22 19:06 rlpowell

I also found this incredibly confusing. I'm gonna make a pull request for this.

seporterfield avatar Jan 01 '23 00:01 seporterfield