Re: [RFC] JIT
| From: | Pierre Joye | Date: | Wed, 06 Feb 2019 08:23:54 +0000 |
| Subject: | Re: [RFC] JIT | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104229@lists.php.net to get a copy of this message | ||
On Wed, Feb 6, 2019 at 3:17 PM Dmitry Stogov <dmitry@zend.com> wrote:
> On 2/5/19 10:31 PM, Kalle Sommer Nielsen wrote:
> > Den tir. 5. feb. 2019 kl. 20.48 skrev Niklas Keller <me@kelunik.com>:
> >> Shouldn't we introduce annotations instead of relying on doc comments?
> >
> > Yeah I'm not too happy with that approach either. I would rather see
> > another way to do this and like you said; annotations is probably the
> > best way to go about it as introducing a new keyword is not very
> > suitable imo.
> >
>
> Attributes were proposed ~3 years ago.
>
> https://wiki.php.net/rfc/attributes
>
> There were few other releted proposals.
> But they didn't pass.
Understanding and adoptions of annotations (Doctrine mainly afaics)
have change. I think it is tricky to define it in a way that it can be
useful and adopted as a core language feature, meaning being flexible
enough to be extendable and usable as a base for userland extensions.
That latter part is the biggest challenge. What do the actual
users/authors of the current userland implementation think? (pls other
thread? :)
Best,
--
Pierre
@pierrejoye