September 25, 2016
On Sunday, 25 September 2016 at 11:54:46 UTC, Ilya Yaroshenko wrote:

>
> Mike, please use for Monday the link to blog post instead of the forum post.
> Thank you

Absolutely.
September 26, 2016
On Friday, 23 September 2016 at 13:25:30 UTC, Ilya Yaroshenko wrote:
> Mir is LLVM-accelerated Generic Numerical Library for Science and Machine Learning.
>
> Benchmark:
> http://blog.mir.dlang.io/glas/benchmark/openblas/2016/09/23/glas-gemm-benchmark.html
>
> Mir v0.18.0 release notes:
> https://github.com/libmir/mir/releases/tag/v0.18.0
> The release includes Mir's D Foundation GSoC project.
>
> Do not forget to star the project:
> https://github.com/libmir/mir
>
> Best regards,
> Ilya

Sounds great!
During my time studying mathematics - in the last century, one Dr. of the mathematical department has developed a C++ library as glue to some fast C libs using the possibility of operator overloading, to make the formulation of matrix algorithms quite beautiful.

So would it be possible to get:

// Performs: c := alpha a x b + beta c
// glas is a pointer to a GlasContext
glas.gemm(alpha, a, b, beta, c);

transformed to something like:

Matrix A,B;
Real alpha,beta;
Vektor c;

c = alpha * A * B + beta * c;

Maybe not for performance but for readability purpose?

There was a recent thread about operator overloading but I didn't understood the problem.
(sorry, still a D newbie).

Regards mt.






September 26, 2016
On Monday, 26 September 2016 at 12:05:46 UTC, Martin Tschierschke wrote:
> On Friday, 23 September 2016 at 13:25:30 UTC, Ilya Yaroshenko wrote:
>> [...]
>
> Sounds great!
> During my time studying mathematics - in the last century, one Dr. of the mathematical department has developed a C++ library as glue to some fast C libs using the possibility of operator overloading, to make the formulation of matrix algorithms quite beautiful.
>
> So would it be possible to get:
>
> // Performs: c := alpha a x b + beta c
> // glas is a pointer to a GlasContext
> glas.gemm(alpha, a, b, beta, c);
>
> transformed to something like:
>
> Matrix A,B;
> Real alpha,beta;
> Vektor c;
>
> c = alpha * A * B + beta * c;
>
> Maybe not for performance but for readability purpose?
>
> There was a recent thread about operator overloading but I didn't understood the problem.
> (sorry, still a D newbie).
>
> Regards mt.

Yes, this is possible. But, first we need a more low level interface. It will help to extend the Mir library and to write bindings for other languages (Julia, Python, R).
September 26, 2016
On Sunday, 25 September 2016 at 13:10:53 UTC, Mike Parker wrote:
> On Sunday, 25 September 2016 at 11:54:46 UTC, Ilya Yaroshenko wrote:
>
>>
>> Mike, please use for Monday the link to blog post instead of the forum post.
>> Thank you
>
> Absolutely.

https://www.reddit.com/r/programming/comments/54kg6v/numeric_age_for_d_mir_glas_is_faster_than/
September 26, 2016
On Monday, 26 September 2016 at 13:01:27 UTC, Mike Parker wrote:
> On Sunday, 25 September 2016 at 13:10:53 UTC, Mike Parker wrote:
>> On Sunday, 25 September 2016 at 11:54:46 UTC, Ilya Yaroshenko wrote:
>>
>>>
>>> Mike, please use for Monday the link to blog post instead of the forum post.
>>> Thank you
>>
>> Absolutely.
>
> https://www.reddit.com/r/programming/comments/54kg6v/numeric_age_for_d_mir_glas_is_faster_than/

Thank you! Do you think the link should be announced in the news group? --Ilya
September 26, 2016
On Monday, 26 September 2016 at 13:30:31 UTC, Ilya Yaroshenko wrote:
> On Monday, 26 September 2016 at 13:01:27 UTC, Mike Parker wrote:
>> On Sunday, 25 September 2016 at 13:10:53 UTC, Mike Parker wrote:
>>> On Sunday, 25 September 2016 at 11:54:46 UTC, Ilya Yaroshenko wrote:
>>>
>>>>
>>>> Mike, please use for Monday the link to blog post instead of the forum post.
>>>> Thank you
>>>
>>> Absolutely.
>>
>> https://www.reddit.com/r/programming/comments/54kg6v/numeric_age_for_d_mir_glas_is_faster_than/
>
> Thank you! Do you think the link should be announced in the news group? --Ilya

Oh, just saw the twitter post. Great!
September 26, 2016
On Monday, 26 September 2016 at 13:41:42 UTC, Ilya Yaroshenko wrote:
https://www.reddit.com/r/programming/comments/54kg6v/numeric_age_for_d_mir_glas_is_faster_than/
>>
>> Thank you! Do you think the link should be announced in the news group? --Ilya

We usually post them in the threads where their content was announced. Doesn't appear to hurt anything.

>
> Oh, just saw the twitter post. Great!

And Facebook, too.

https://www.facebook.com/dlang.org/posts/1405893729424304?notif_t=like&notif_id=1474895263820473

September 26, 2016
On Friday, 23 September 2016 at 13:28:26 UTC, Ilya Yaroshenko wrote:
> Could someone with big reddit rating please post the link there? (maybe Andrei?)

Don't forget hackernews!
1 2 3 4
Next ›   Last »