[M3devel] [M3commit] CVS Update: cm3

Dragiša Durić dragisha at m3w.org
Thu Jun 7 22:09:58 CEST 2012


Are you sure about this?

Both pm3 and cm3 load type structures from object files on initialization. Type data is in UNTRACED REF ARRAY… structures, for both of them.

Difference is in algorithm being incremental, "multi-pass" in cm3 and single-pass in pm3/SRC. Also, for garbage collection, there is a check to see if number of modules (meaning more globals areas) has grown, and rebuilding of globals list in case it is.
 
There is nothing static in type structure of Modula-3.

On Jun 7, 2012, at 6:36 PM, Mika Nystrom wrote:

> Because of the restrictions of SRC and P M3, types are statically
> allocated at compile time and all their subtyping relationships are known
> at that time.  There is simply a static array of the types.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120607/c714d309/attachment-0002.html>


More information about the M3devel mailing list