Bob Belderbos

Bob Belderbos: From Python to Rust: Master Iterators by Rebuilding 10 Unix Tools (opens in new tab)

The fastest way I know to learn a language is to rebuild something you already understand. You stop fighting the problem and spend your attention on the syntax and the idioms. That is the whole idea behind the new I just released on the Rust platform: ten small command-line classics, each one a pure function you implement and cargo test grades. Why Unix tools, and why from Python Every exercise opens with the Python you would write, then teaches the Rust idiom that replaces it. People who lov...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help