Comment by klaussilveira 2 years ago &str vs String. Oh boy. 5 comments klaussilveira Reply brabel 2 years ago https://raw.githubusercontent.com/lesterli/blockchain/master... whytevuhuni 2 years ago This is missing a few useful ones, like Box<str>, Arc<str>, Cow<'a, str>, SmallVec<u8>, transmuted newtype references like &UserId, and of course the string type you implemented yourself because the previous ones were not good enough. andrepd 2 years ago Yeah, if std::string vs std::string_view is "a major hurdle"... I don't know what so say ziddoap 2 years ago Where did you see "a major hurdle" written? Capricorn2481 2 years ago You are doing exactly what is being criticized in the Rust community. Bad faith reads of someone who spent significant time getting into the language.
brabel 2 years ago https://raw.githubusercontent.com/lesterli/blockchain/master... whytevuhuni 2 years ago This is missing a few useful ones, like Box<str>, Arc<str>, Cow<'a, str>, SmallVec<u8>, transmuted newtype references like &UserId, and of course the string type you implemented yourself because the previous ones were not good enough.
whytevuhuni 2 years ago This is missing a few useful ones, like Box<str>, Arc<str>, Cow<'a, str>, SmallVec<u8>, transmuted newtype references like &UserId, and of course the string type you implemented yourself because the previous ones were not good enough.
andrepd 2 years ago Yeah, if std::string vs std::string_view is "a major hurdle"... I don't know what so say ziddoap 2 years ago Where did you see "a major hurdle" written? Capricorn2481 2 years ago You are doing exactly what is being criticized in the Rust community. Bad faith reads of someone who spent significant time getting into the language.
Capricorn2481 2 years ago You are doing exactly what is being criticized in the Rust community. Bad faith reads of someone who spent significant time getting into the language.
https://raw.githubusercontent.com/lesterli/blockchain/master...
This is missing a few useful ones, like Box<str>, Arc<str>, Cow<'a, str>, SmallVec<u8>, transmuted newtype references like &UserId, and of course the string type you implemented yourself because the previous ones were not good enough.
Yeah, if std::string vs std::string_view is "a major hurdle"... I don't know what so say
Where did you see "a major hurdle" written?
You are doing exactly what is being criticized in the Rust community. Bad faith reads of someone who spent significant time getting into the language.