A computer-implemented method and software are provided for supporting a
platform independent object format for a run-time environment in which a
definition of an object in terms of a composition of one or more
primitive types and a platform-specific description of the one or more
primitive types are accessed. A layout for the object is then generated
in a high-order language based on the definition of the object and the
platform-specific description.