complex arithmetic in D: multiple questions

Nicholas Wilson iamthewilsonator at hotmail.com
Fri Mar 9 15:10:32 UTC 2018


On Friday, 9 March 2018 at 14:41:47 UTC, J-S Caux wrote:
> Is this a case for a bug report? Seems pretty bizarre to do 
> that, like an oversight/neglect.

Yes if there's not one there for it already.

> OK thanks. I looked at libmir, and saw many good things there. 
> I was wondering: is it still actively developed/maintained? How 
> will it fit with the "core" D in the future? [I don't want to 
> build dependencies to libraries which aren't there to stay in 
> the long run, I want code which can survive for decades]. It 
> would seem to me that some of the things included in there 
> should be part of D core/std anyway.

Yes, it is sponsored by https://github.com/kaleidicassociates it 
will be around for a long time.
It is developed separately because the dev/release cycles don't 
easily align with the core/ stdlib developers.

https://github.com/libmir/mir-algorithm/blob/master/source/mir/ndslice/slice.d#L594
is the de facto matrix structure for D.

> Going further, I'm really wondering what the plan is as far as 
> Complex is concerned. Right now it just feels neglected 
> (half-done/aborted transition from creal etc to Complex, lots 
> of missing basic functions etc), and is one major blocking 
> point as far as adoption (among scientists) is concerned. Julia 
> is really taking off with many of my colleagues, mostly because 
> due respect was given to maths. I'd certainly choose Julia if 
> it wasn't for the fact that I can't get my exploratory/testing 
> codes to run faster than about 1/10th of my C++ stuff. It seems 
> D could have such an appeal in the realm of science, but these 
> little things are really blocking adoption (including for 
> myself).

Indeed, I'll see what I can do about it.

>>> [related questions:
>>
>> Did you press send too soon?
>
> No, the related questions were linked in my previous post (just 
> copied & pasted it further above, but didn't delete these last 
> couple of words properly).
>
> Thanks a lot Nicholas!



More information about the Digitalmars-d-learn mailing list