HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by andrewstuart | Hacker News Reader
Full thread
andrewstuart
·
Grrrrr.....
let a: String = "Hello world".to_string();
View on HN
lytedev
·
But this allocates a new string instead of being a slice to the data in the binary in memory loaded by the os, doesn't it?
Reply on news.ycombinator.com