Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
pcwalton
12y ago
0 comments
Share
You can use the `Rc` or `RcMut` types in the standard library. They're just smart pointers, like C++ `shared_ptr`.
0 comments
default
newest
oldest
hershel
12y ago
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