Y
Hacker News
new
|
ask
|
show
|
jobs
by
pcwalton
4682 days ago
You can use the `Rc` or `RcMut` types in the standard library. They're just smart pointers, like C++ `shared_ptr`.
1 comments
hershel
4682 days ago
Is it possible to use them in zero ? because ksr2's comments tells otherwise.
link
pcwalton
4682 days 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.
link