← Back to context

Comment by queuebert

3 months ago

> ... big bag of mutable data that lives for relatively unknown amounts of time. This is the antithesis of Rust.

I'm sorry, but I still don't understand. There are myriad heap collections and even fancy stuff like Rc<Box<T>> or RefCell<T>. What am I missing here?

Is it as simple as global void pointers in C? No, but it's way safer.

Somehow I doubt Unity uses global void pointers in C. Not that one would have to use global void pointers when using C.