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

You can use the `Rc` or `RcMut` types in the standard library. They're just smart pointers, like C++ `shared_ptr`.
Is it possible to use them in zero ? because ksr2's comments tells otherwise.
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.