Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
pcwalton
12y ago
0 comments
Save
Share
You can use the `Rc` or `RcMut` types in the standard library. They're just smart pointers, like C++ `shared_ptr`.
0 comments
2 comments · 1 top-level
top
newest
oldest
hershel
12y ago
· 1 in thread
Is it possible to use them in zero ? because ksr2's comments tells otherwise.
pcwalton
OP
12y ago
Nowadays you can just use libstd in no-runtime apps; you can choose whether to start the runtime and if you're running on bare metal, just don't start it.
j
/
k
navigate · click thread line to collapse