[bitc-dev] FN keyword
Jonathan S. Shapiro
shap at eros-os.org
Wed Aug 11 17:16:29 PDT 2010
On Tue, Aug 10, 2010 at 6:58 PM, Ben Kloosterman <bklooste at gmail.com> wrote:
> Can ( or should) these effects like noalloc be expressed in an
> attribute/Meta data system since they are not really part of the language
> but the code that is produced?
That's a really good question -- particularly so because attributes that are
part of the standard library are free to be interpreted by the compiler and
can have defined interpretations. So the answer might well want to be "yes".
The problem is that this doesn't really solve the problem at hand, which
amounts to "where should that attribute appear in the type". C# lacks
support for annotations in certain key places that prove to be very
limiting, and the CLR attribute language isn't flexible enough to encode
That said, these *particular* effects definitely are part of the language,
no matter how they are encoded for convenience.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bitc-dev