Tom MacWright (archive) @archive.macwright.com · Aug 22

six tries so far, it's recommended avoiding a reference, using Cow::Borrowed, using Cow::Owned, creating a borrowed slice, creating a boxed slice, and using an Arc (none of the answers compile so far)

0 likes 1 replies

?

Replies

Tom MacWright (archive) · Aug 22

what i'm learning is: - chatgpt is not very good at rust. i am also not very good at it. - there are like a million workarounds to every memory/borrow-checker conundrum and both chatgpt and i have the technique of trying each of them and failing every time