gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Extended opaque


From: Dragiša Durić
Subject: Re: [Gm2] Extended opaque
Date: Sun, 24 Oct 2010 16:16:17 +0200

All implementations have some specifics... I didn't know about this one in gm2, 
but "controlled opacity" is how Modula-2 R10 does things. It's maybe a 
"forward" influence from soon-to-be R10 standard. :)

OTOH, being non-standard is not so bad if compiler is stable, multiplatform and 
supported. And gm2 is all of it, or it soon will be.

On Oct 24, 2010, at 3:49 PM, Chris Lilley wrote:

> Hello,
> 
> GM2 extends PIM and ISO Modula-2, allowing an opaque type to be any type 
> rather than requiring it to be a pointer.
> 
> It seems to me that this is a good, type-safe extensio very much in the 
> spirit of Modula-2. But, its a compiler-specific extension.
> 
> Was this added because it was an experiment, or to see if it worked, or 
> because this feature should really have been in the standardized language?
> 
> Are others using this feature?
> 
> I recently made a module with a fully opaque type, then backed it out because 
> I didn't want to depend on compiler specifics. But the resulting exposed, 
> semi-opaque type seems less satisfactory to me.
> 
> I would be glad of thoughts or guidance from others on this feature.
> 
> -- 
> Chris Lilley   Technical Director, Interaction Domain                 
> W3C Graphics Activity Lead, Fonts Activity Lead
> Co-Chair, W3C Hypertext CG
> Member, CSS, WebFonts, SVG Working Groups
> 
> 
> _______________________________________________
> gm2 mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gm2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]