Hacker GitHub

← All repos

rust-lang/rustlings

View on GitHub ↗ ★ 64,545 Rust

:crab: Small exercises to get you used to reading and writing Rust code!

53 mentions on Hacker News by 46 people: 9 stories, 44 comments · first 2016-02-02 · latest 2025-07-07

Mentions per year 53 mentions · busiest year 2022 (16)
20082026
  1. I think that's how it all started: https://github.com/rust-lang/rustlings
  2. …it's one of the reasons why we see an unusual number of "rewrite of x in rust" projects. [1]. https://github.com/rust-lang/rustlings
  3. …It's an interactive way to learn which is what got me through learning Rust a few years ago. [0] https://github.com/rust-lang/rustlings
    comment by satvikpendem · 2024-05-17 · in Exercises to Learn Rust
  4. Zed is great, have been using it to do the Rustlings exercises and learn Rust: https://github.com/rust-lang/rustlings If you've been looking for an excuse to learn Rust, check it out.
    comment by burningion · 2024-01-05 · in GPUI 2 is now in production – Zed
  5. …rustlings. Its a bunch of small exercises that roughly follow the content of the main rust book. https://github.com/rust-lang/rustlings
  6. Rust also has something similar which is where I believe Zig drew inspiration from as well: https://github.com/rust-lang/rustlings
    comment by satvikpendem · 2023-09-09 · in Learning Zig
  7. i think you've found what i'm looking for! https://github.com/rust-lang/rustlings
  8. Rustlings gives a great introduction to the language: https://github.com/rust-lang/rustlings Disclaimer: I write JavaScript
  9. For newcomers, https://github.com/rust-lang/rustlings is a good way to start.
  10. …Above all else (and there is so much good stuff out there) I'd recommend those two resources. https://github.com/rust-lang/rustlings https://doc.rust-lang.org/book/index.html
  11. …see much of a good reason to develop different ones. [0]: https://doc.rust-lang.org/book/ [1]: https://github.com/rust-lang/rustlings/ [2]: https://doc.rust-lang.org/stable/rust-by-example/
    comment by doodlesdev · 2023-02-26 · in Beej's Guide to C Programming
  12. …me the direction and me doing backtracking to avoid overshooting (glossing what it missed). [1] https://github.com/rust-lang/rustlings
  13. …is probably Rust By Example https://doc.rust-lang.org/stable/rust-by-example/ and/or Rustlings https://github.com/rust-lang/rustlings/ . The key is to do those exercises "the hard way" and get some familiarity with the mechanics of coding…
  14. …basic syntax: https://news.ycombinator.com/item?id=25610741 and lastly: https://github.com/rust-lang/rustlings though i dislike the install method...
    comment by acomjean · 2022-10-27 · in Ask HN: What are some good Rust tutorials?
  15. https://github.com/rust-lang/rustlings I really like rustlings.
    comment by mithusingh32 · 2022-10-19 · in Ask HN: Recommended Rust Resources?
  16. …various parts of the language locally, instead of in a browser, so I can use the tools that I like. https://github.com/rust-lang/rustlings
  17. …If you want to learn Rust, check out the book ( https://doc.rust-lang.org/book/ ) and Rustlings ( https://github.com/rust-lang/rustlings ) (runnable in the browser), both are amazing resources
  18. …I pick up new languages and I did that for a bit with Rust, I read a bit then code a bit and found https://github.com/rust-lang/rustlings very helpful. Is there an equivalent for C++? What would be the top resource to get started on modern…
  19. https://github.com/rust-lang/rustlings
    comment by olalonde · 2022-06-30 · in Rust 1.62.0
  20. You may want to check out Rustlings https://github.com/rust-lang/rustlings/
    comment by spotlesstofu · 2022-06-21 · in Beginner's Series to Rust
  21. Rustlings ( https://github.com/rust-lang/rustlings ) - interactivity Inside look at modern web browser ( https://developer.chrome.com/blog/inside-browser-part1/ ) - fun illustrations Nunjucks ( https://mozilla.github.io/nunjucks/templating.…
    comment by kaycebasques · 2022-06-05 · in Ask HN: Examples of good technical writing?
  22. …intro to rust is in such format. Most use test runners but you usually edit the code not the test. https://github.com/rust-lang/rustlings https://github.com/gamontal/awesome-katas https://github.com/ahmdrefat/awesome-koans/blob/master/koans…
    comment by leetrout · 2022-04-26 · in Learn Go with Tests
  23. …official Rust book is targeted at novices with some programming experience. There's also Rustlings https://github.com/rust-lang/rustlings for a more practical approach. > When I tried to work with Rust a few years ago I found it utterly…
  24. …https://github.com/edgecase/ruby_koans - Powershell: https://github.com/vexx32/PSKoans - Rust: https://github.com/rust-lang/rustlings
    comment by ducharmdev · 2022-01-15 · in Teaching how to code is broken
  25. I’d recommend working through rustlings rather than watching videos for basic rust understanding: https://github.com/rust-lang/rustlings . It is essentially a set of quick exercises to get you familiar with the language and how to fix…
  26. …Select-Object or select. Here is a concrete example that I wrote for the rustlings install script: https://github.com/rust-lang/rustlings/blob/main/install.ps1... Note that I used Invoke-WebRequest instead of irm here.
  27. …programming. Would also love any recommendations/tips & tricks by any experience rustaceans! [1] https://github.com/rust-lang/rustlings [2] https://www.youtube.com/watch?v=EYqceb2AnkU&list=PLJbE2Yu2zu... [3]…
    comment by RhodoGSA · 2021-05-11 · in The Plan for the Rust 2021 Edition
  28. …not having the ownership system internalized yet. https://doc.rust-lang.org/rust-by-example/ and https://github.com/rust-lang/rustlings might be good places to visit to gain that experience, as well as improving the specific diagnostics to…
    comment by estebank · 2021-04-13 · in Rust is for Professionals
  29. I went through a similar set of exercises a little while ago https://github.com/rust-lang/rustlings
    comment by nicolashahn · 2021-03-16 · in Rust Koans
  30. …a fun and useful article, but I'd also recommend Rustlings to anyone interested in learning Rust. https://github.com/rust-lang/rustlings
    comment by l00sed · 2021-01-02 · in A half-hour to learn Rust
  31. …here, but for those who wish to learn the language in a more interactive way I recommend Rustlings: https://github.com/rust-lang/rustlings I spent the last two weeks going through it and so far the experience has been great. There's a quiz…
    comment by Tade0 · 2021-01-02 · in A half-hour to learn Rust
  32. "rustlings" is already a well-known project within Rust world https://github.com/rust-lang/rustlings
    comment by steveklabnik · 2020-11-28 · in AWS hires Rust compiler team co-lead Felix Klock
  33. …teething issues: Rustlings: A set of exercises to "fix" to get you used to compiler error messages. https://github.com/rust-lang/rustlings Rust by example: A collection of short runnable examples to get you familiar with the standard…
    comment by davidhyde · 2020-10-25 · in Fighting Rust's Expressive Type System
  34. I like this one https://github.com/rust-lang/rustlings . It is a set of exercises in which you must fix fragments of the code to pass the test.
    comment by A-Train · 2020-09-19 · in Ask HN: How to Learn Rust
  35. You could try this: https://github.com/rust-lang/rustlings
    comment by shawnz · 2020-08-27 · in Rust 1.46
  36. …but it felt too 'hacky' for me to accept as a final product and suggest to the rustlings team. 0: https://github.com/rust-lang/rustlings 1: https://repl.it/github/rust-lang/rustlings 2: https://github.com/rust-lang/rustlings/pull/471 A…
  37. I've wanted to turn some students onto Rust, so I tried to give them https://github.com/rust-lang/rustlings loaded into a repl.it account -- but the way repl.it works breaks rustlings in multiple ways. I'd love if this Rust playground…
    comment by rckoepke · 2020-07-09 · in Rust Playground
  38. …learner I would recommend installing rust on your machine and then cloning the rustlings repo https://github.com/rust-lang/rustlings . Rustlings is an interactive collection of rust exercises that are either incorrect or incomplete. The…
    comment by cpascal · 2020-01-29 · in Rust Lang in a nutshell
  39. If you like TDD, checkout rustlings https://github.com/rust-lang/rustlings/ . I'd recommend https://exercism.io/ , but there's such a shortage of mentors for the Rust track that you can get blocked very easily waiting for feedback. One of…
  40. …all) of these: • https://github.com/crazymykl/rust-koans/ • https://github.com/dtolnay/rust-quiz • https://github.com/rust-lang/rustlings (by one of the authors of The Rust Programming Language, Carol Nichols)
    comment by faitswulff · 2019-05-20 · in Rust Koans (2015)
  41. https://github.com/carols10cents/rustlings
    comment by bugmen0t · 2018-11-22 · in Still in love with Rust
  42. https://github.com/carols10cents/rustlings http://exercism.io/ These are probably the two best sites for small, exercise training programs in Rust. Once you've gotten through a few of them, you'd probably be ready to build something…
  43. https://github.com/carols10cents/rustlings
    comment by lukes386 · 2018-03-15 · in Learning Rust
  44. …to reading and writing Rust code. Includes practice reading and responding to compiler messages! https://github.com/carols10cents/rustlings
    comment by shepmaster · 2018-03-15 · in Learning Rust