microsoft / verona-rt

The runtime for the Verona project
MIT License
25 stars 14 forks source link

Pull apart functionality from Cown #12

Closed mjp41 closed 1 year ago

mjp41 commented 1 year ago

The Cown class has two pieces of functionality

The second is completely specific to Cowns, but the first could be useful for other things in the runtime. This PR pulls those apart. The runtime now understands some objects are RegionMD::SHARED and should be managed using strong and weak reference counts.

This PR is to enable other features to be added such as Notifications and Noticeboards in a more primitive way. Those additions and refactorings will be in two subsequent PRs.

mjp41 commented 1 year ago

@jacob-hughes this PR will possibly impact you as it changes the representation around regions and objects in a superficial way. All the changes to files you are potentially modifying should be straightforward renames, but please let me know if you have any difficulties.