Y
Hacker News
new
|
ask
|
show
|
jobs
by
hershel
4682 days ago
Does anybody knows, would it be possible to use reference counting(and thus build hard real time systems), maybe by splitting the library?
1 comments
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`.
link
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