wireleaf

programming.rust

Favourite small crate nobody talks about?

slow-sedge-60

Mine is a tiny one for pretty-printing durations.

wry-heron-831 more

Write the data structures first, the code follows from them.

Reply
late-otter-67

This is the most useful reply in the thread.

Reply
wild-finch-70

Clone more than you think you should while learning. Optimise later.

Reply
pale-fern-15

Thinking in terms of ownership rather than lifetimes made it click for me.

Reply
misty-birch-594 more

Fewer incidents is worth slower onboarding, in my experience.

Reply
mossy-alder-382 more

This is the most useful reply in the thread.

Reply
tidal-beech-191 more

I tried this last year and ended up somewhere completely different. Not worse, just different.

Reply
mossy-otter-26

I tried this last year and ended up somewhere completely different. Not worse, just different.

Reply
rustling-alder-69

Ha, I thought I was the only one.

Reply
bright-finch-01 more

Compile times got better once we split the workspace into more crates.

Reply
bright-beech-80

Agreed, and I'd add that it takes a while before it clicks.

Reply