TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

String vs. &str

3 pointsby sulami3 months ago

2 comments

goldsteinq3 months ago
&gt; This means it has a known size (The same as a usize.)<p>Double that of a usize, since str is an unsized type and needs a fat pointer.
skeptrune3 months ago
For sure one of the more concise and practical guides I&#x27;ve seen on the topic. Substrings make for a fantastic Northstar example.