[GSoC] Trying to find a good topic
Mike Franklin
slavo5150 at yahoo.com
Mon Apr 1 02:59:09 UTC 2019
On Friday, 29 March 2019 at 15:35:10 UTC, Dan Printzell wrote:
> If you want to you (others are also welcomed) can look through
> my draft to make sure I have not written anything stupid and
> possibly suggest improvements.
>
> https://docs.google.com/document/d/15ba1vC1T7n2vX8kvQVikOj1Ip1-mt-zyiEwd0OYBoQA/edit?usp=sharing
We've finished the implementation of `_d_arraycast` as a
template. I followed essentially the same procedure in your
propose.
1) https://github.com/dlang/druntime/pull/2264 - Add new template
to druntime with unittests verifying the implementation
2) https://github.com/dlang/dmd/pull/9516 - Update DMD to call
the template and remove calls to the previous runtime hook
3) https://github.com/dlang/druntime/pull/2535#event-2241980654 -
Remove the no-longer-used, old runtime hook from druntime
I made the mistake of planning for betterC in (1). It made
things a little too complicated which delayed the implementation
and required me to have to do a little back-and-forth with Walter
on how to not rock the boat too much. You've already stated
you're going with a direct translation. That's good. This at
least shows some of the changes that may be required to get a
feature working in betterC in a followup PR. It also shows how
complicated things can get when considering betterC. I still
have to add DMD PR to verify the betterC implementation, but I'm
a little on the fence about it.
Anyway, in addition to Lucia's PRs...
https://github.com/dlang/dmd/pulls?utf8=%E2%9C%93&q=is%3Apr+author%3Asomzzz+
https://github.com/dlang/druntime/pulls?utf8=%E2%9C%93&q=is%3Apr+author%3Asomzzz+
... it serves as a good case study.
Mike
More information about the Digitalmars-d
mailing list