Article: Writing Julia style multiple dispatch code in D

jmh530 via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Aug 24 11:25:44 PDT 2017


On Thursday, 24 August 2017 at 17:20:20 UTC, data pulverizer 
wrote:
>>
>> In any case, Jean-Louis Leroy did some magic recently to 
>> support multiple dynamic dispatch in D. :)
>>
>> http://forum.dlang.org/post/cigbfrgipbokyetskypk@forum.dlang.org
>
> I haven't seen this. I'll have to get back to you when I have 
> read it.
>

I wouldn't expect it to be that useful for univariate 
distributions as you wouldn't have much reason to have a 
different implmentation at run-time. However, it might be useful 
with multivariate distributions for the same reason that you 
might want to specialize matrix math by the size of the matrix.


More information about the Digitalmars-d-announce mailing list