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
20082026
-
I think that's how it all started: https://github.com/rust-lang/rustlings
comment by zserge · 2025-07-07 · in Ziglings: Learn Zig by fixing broken programs -
…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
comment by devsda · 2024-10-09 · in Show HN: I made an SSH tunnel manager to learn Go -
…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 -
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 -
…rustlings. Its a bunch of small exercises that roughly follow the content of the main rust book. https://github.com/rust-lang/rustlings
comment by jocaal · 2023-11-06 · in How Rust can facilitate new contributors while decreasing vulnerabilities [pdf] -
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 -
i think you've found what i'm looking for! https://github.com/rust-lang/rustlings
comment by dfee · 2023-09-05 · in Learn WebAssembly by writing small programs -
Rustlings gives a great introduction to the language: https://github.com/rust-lang/rustlings Disclaimer: I write JavaScript
comment by Tade0 · 2023-07-08 · in Bevy XPBD: A physics engine for the Bevy game engine -
For newcomers, https://github.com/rust-lang/rustlings is a good way to start.
comment by yobbo · 2023-05-24 · in Comprehensive Rust: course used by the Android team at Google -
…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
comment by davidhyde · 2023-03-11 · in Ask HN: What Rust topics do you suggest for a Rust 101 teaching guide? -
…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 -
…me the direction and me doing backtracking to avoid overshooting (glossing what it missed). [1] https://github.com/rust-lang/rustlings
comment by PartiallyTyped · 2022-12-05 · in Learning Rust with ChatGPT, Copilot and Advent of Code -
…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…
comment by zozbot234 · 2022-11-13 · in Carefully exploring Rust as a Python developer -
…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? -
https://github.com/rust-lang/rustlings I really like rustlings.
comment by mithusingh32 · 2022-10-19 · in Ask HN: Recommended Rust Resources? -
…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
comment by cbm-vic-20 · 2022-09-14 · in Ask HN: What is the coding exercise you use to explore a new language? -
…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
comment by zdimension · 2022-08-20 · in How I learned to stop worrying and love macros -
…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…
comment by vkat · 2022-08-12 · in Ask HN: Who is using C++ as the main language for new project? -
https://github.com/rust-lang/rustlings
comment by olalonde · 2022-06-30 · in Rust 1.62.0 -
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 -
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? -
…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 -
…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…
comment by zozbot234 · 2022-04-17 · in Zig self hosted compiler is now capable of building itself -
…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 -
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…
comment by davidhyde · 2021-12-29 · in Ask HN: What are some good Rust code samples? -
…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.
comment by vips7L · 2021-06-16 · in GitHub – nushell/nushell: A new type of shell -
…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 -
…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 -
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 -
…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 -
…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 -
"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 -
…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 -
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 -
…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…
comment by rckoepke · 2020-07-27 · in Ask HN: What are some free software tools you want? -
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 -
…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 -
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…
comment by faitswulff · 2019-08-15 · in I completed Ultimate Go, took good notes and commented directly on source code -
…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) -
https://github.com/carols10cents/rustlings
comment by bugmen0t · 2018-11-22 · in Still in love with Rust -
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…
comment by curun1r · 2018-03-31 · in I've just learned Rust and I think I'm in love -
https://github.com/carols10cents/rustlings
comment by lukes386 · 2018-03-15 · in Learning Rust -
…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