Moving a service from Go to Rust, notes after a year
Fewer incidents, slower onboarding, and the compile times are exactly as bad as everyone said.
Fewer incidents, slower onboarding, and the compile times are exactly as bad as everyone said.
It clicked once I stopped thinking about lifetimes and started thinking about who owns what.
Thinking in terms of ownership rather than lifetimes made it click for me.
Write the data structures first, the code follows from them.
Compile times got better once we split the workspace into more crates.
gentle-lichen-54 wrote:
Compile times got better once we split the workspace into more crates.
That's fair. I hadn't looked at it that way.
I tried this last year and ended up somewhere completely different. Not worse, just different.
Saving this for later.
Do you have a source for that? Not doubting, I just want to read more.
I'd be careful with that advice, it worked for me but I know people it didn't work for.
misty-alder-20 wrote:
I'd be careful with that advice, it worked for me but I know people it didn't work for.
This is the most useful reply in the thread.
still-beech-5 wrote:
misty-alder-20 wrote:
This is the most useful reply in the thread.
Saving this for later.
bright-finch-35 wrote:
Saving this for later.
I tried this last year and ended up somewhere completely different. Not worse, just different.
Do you have a source for that? Not doubting, I just want to read more.
gentle-lichen-54 wrote:
Compile times got better once we split the workspace into more crates.
I tried this last year and ended up somewhere completely different. Not worse, just different.