February report of the Raku Development Grant of Jonathan Worthington
Wed, 17-Mar-2021 by
Matthias Bloch
edit post
Jonathan writes:
My grant work in February continued to focus on the new general dispatch mechanism in MoarVM, and especially resumable dispatch, which I [mentioned in my last report](https://news.perlfoundation.org/post/jonathan-2021-01).
By this point, I have `callsame`, `nextsame`, `lastcall`, and `nextcallee` working via the new dispatch mechanism in my `new-disp` Rakudo branch. For now, they work with `wrap` dispatch (where they call the next wrapper or the original routine), method dispatch (where they go to the next method in the MRO), and the combination of these two. Resumption of a multiple dispatch remains to be implemented. I did, however, implement the case of multiple dispatch where we have a `proto` sub or method with a body that then chooses when (or whether) to invoke a matching multi candidate; this also uses the dispatch resumption mechanism.
With my arm/wrist gradually healing up, I also finally got around to writing a [blog post detailing the new dispatch mechanism](https://6guts.wordpress.com/2021/03/15/towards-a-new-general-dispatch-mechanism-in-moarvm/), as I'd hoped to last month. Enjoy!
```
Total time worked: 24 hours 36 minutes
```
Comments (1)
Approved - Will