[swift-dev] Starter project: Remove old mirrors

Austin Zheng austinzheng at gmail.com
Sun Dec 6 06:24:55 CST 2015


I'd be interested in working on this, if nobody else minds.

Austin

On Sun, Dec 6, 2015 at 2:20 AM, Dmitri Gribenko via swift-dev <
swift-dev at swift.org> wrote:

> Hi,
>
> If someone is interested in working on a simple and useful starter
> project, here is one.
>
> We need to remove old mirrors from the standard library and the runtime.
>
> The first step is very simple: all old mirrors in the standard library
> and SDK overlays should be migrated to the new CustomReflectable APIs.
> All mirrors that didn't have tests and are affected by this conversion
> should get tests.
>
> The dump() function needs to be rewritten to use new mirrors.
>
> We need new runtime entry points that make sense for the new mirror
> implementation.  The current entry points (the _reflect() function and
> all its implementation details) directly depend on the old mirrors.
> This step is slightly harder, but not doesn't require extraordinary
> skills.  This part requires writing a proposal, because the runtime
> API is going to be stable.
>
> This project is tracked by https://bugs.swift.org/browse/SR-88
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20151206/d77f2e4f/attachment.html>


More information about the swift-dev mailing list