marekjm / viuavm

Parallel virtual machine designed to reliably run massively concurrent programs
https://viuavm.org/
GNU General Public License v3.0
71 stars 11 forks source link

Define structure of Viua objects #128

Closed marekjm closed 8 years ago

marekjm commented 8 years ago

Current definition of Viua objects is too imprecise (or does not exist at all, depending on how one looks at it).

Objects should have a type (used to link an object to it's class definition; e.g. for dynamic dispatch) and a set of named slots (member variables). A slot can be accessed (for reading or writing) using its name given as a string. Values stored in slots can be freely changed during the lifetime of an object.

Defining structure of objects that have both native Viua classes and classes created in C++ in their inheritance hierarchy is beyond the scope of this issue.

marekjm commented 8 years ago

There is basic documentation at docs.viuavm.org manuals.