4 ms·
Since this builds on zero.rs, there are some limitations. https://github.com/pcwalton/zero.rs https://github.com/pcwalton/zero.rs Garbage collection, tasks,
by kqr2 13y ago
Since this builds on zero.rs, there are some limitations.
https://github.com/pcwalton/zero.rs https://github.com/pcwalton/zero.rs
Garbage collection, tasks, and failure will not work. All
the other language features, including unique pointers,
references, and closures do work, so programs such as
sprocketnes that do not use garbage collection should be
fine.
The Rust standard library cannot be used in this mode,
but splitting out the Rust standard library into a
portion that can be used in freestanding mode would be an
interesting and valuable project (IMO).
- hershel 13y agoDoes anybody knows, would it be possible to use reference counting(and thus build hard real time systems), maybe by splitting the library?
- pcwalton 13y agoYou can use the `Rc` or `RcMut` types in the standard library. They're just smart pointers, like C++ `shared_ptr`.
- cmrx64 13y agoBut one can implement those, they are language items.