Learning Rust from C and C++
reddit.com·14w·
Discuss: r/rust

I'm too old to remember exactly how I learnt to program but it wasn't with YouTube videos or modern conveniences. I tried learning Rust a while back by going through the book. All made sense but I didn't retain it.

Trying again but this time I'm porting a game engine I wrote in C and doing way better. I learnt what I need to, when I need it. I suspect this is how I did things back in the day. Suddenly specifying lifetimes makes sense to me.

Anyway, just wondered if there are any gotchas with this method. I expect I will miss various Rust idioms but is there anything else?

submitted by /u/Computerist1969

I'm too old to remember exactly how I learnt to program but it wasn't with YouTube videos or modern conveniences. I tried learning Rust a while back by going through the book. All made sense but I didn't retain it.

Trying again but this time I'm porting a game engine I wrote in C and doing way better. I learnt what I need to, when I need it. I suspect this is how I did things back in the day. Suddenly specifying lifetimes makes sense to me.

Anyway, just wondered if there are any gotchas with this method. I expect I will miss various Rust idioms but is there anything else?

submitted by
/u/Computerist1969 [link] [comments]

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help