Thread overview
mir-algorithm v0.6.21: Python and C++ interconnection + API sugar
Oct 11
jmh530
Oct 11
jmh530
Oct 11
jmh530
October 11
Hello,

About Mir Algorithm
--------------------
Mir Algorithm[1] is Dlang core library for math, finance and a home for Dlang multidimensional array package - ndslice.

New Modules
--------------

 - mir.ndslice.connect.cpython* - Python Buffer Protocol

 - mir.ndslice.connect.cpp* - ndslice wrapper for extern(C++) functions

New API
--------------

 - lazy multidimensional element-wise operations:
            c[] = a + b.map!sqrt * d;
            auto dp = reduce!"a + b"(0.0, a * b);

     (map and reduce are from mir.ndslice.topology)

 - mir.ndslice.dynamic now accepts all  kinds of slices

 - mir.ndslice.topology.byDim (@jmh530)

 - const slices got random access and slicing

Special thanks to @jmh530 for PRs and bug fixes.

 * - This work has been sponsored by Symmetry Investments [2] and Kaleidic Associates [3].

P.S.
Let me know if your company uses Mir-Algorithm and I can put its badge in the readme.

[1] https://github.com/libmir/mir-algorithm
[2] http://symmetryinvestments.com
[3] https://github.com/kaleidicassociates

Best Regards,
Ilya Yaroshenko

October 11
On Wednesday, 11 October 2017 at 18:00:03 UTC, Ilya Yaroshenko wrote:
>
> New Modules
> --------------
>
>  - mir.ndslice.connect.cpython* - Python Buffer Protocol
>
>  - mir.ndslice.connect.cpp* - ndslice wrapper for extern(C++) functions
>

Not sure if you follow it, but bachmeil's embedr (https://bitbucket.org/bachmeil/embedr) has cross-platform support for calling D functions from R, and vice-versa with another program. An R wrapper, or whatever, might be worth adding to the Issues list.

> Special thanks to @jmh530 for PRs and bug fixes.

No worries, I still plan to do some work on documentation, but haven't gotten around to it.

Have you had a chance to look at the latest versions of:
https://github.com/libmir/mir-algorithm/pull/95
https://github.com/libmir/numir/pull/10
October 11
On Wednesday, 11 October 2017 at 18:31:30 UTC, jmh530 wrote:
> On Wednesday, 11 October 2017 at 18:00:03 UTC, Ilya Yaroshenko Have you had a chance to look at the latest versions of:
> https://github.com/libmir/mir-algorithm/pull/95

Still needs review; sorry for slow process

> https://github.com/libmir/numir/pull/10

LGTM

October 11
Could someone process publish it on reddit and hacker news? --Ilya

October 11
On Wednesday, 11 October 2017 at 18:51:44 UTC, Ilya Yaroshenko wrote:
> Could someone process publish it on reddit and hacker news? --Ilya

process -> please
October 11
On Wednesday, 11 October 2017 at 18:52:26 UTC, Ilya Yaroshenko wrote:
> On Wednesday, 11 October 2017 at 18:51:44 UTC, Ilya Yaroshenko wrote:
>> Could someone process publish it on reddit and hacker news? --Ilya
>
> process -> please

https://www.reddit.com/r/programming/comments/75rto4/miralgorithm_v0621_python_and_c_interconnection/
October 11
On Wednesday, 11 October 2017 at 20:19:43 UTC, jmh530 wrote:
> On Wednesday, 11 October 2017 at 18:52:26 UTC, Ilya Yaroshenko wrote:
>> On Wednesday, 11 October 2017 at 18:51:44 UTC, Ilya Yaroshenko wrote:
>>> Could someone process publish it on reddit and hacker news? --Ilya
>>
>> process -> please
>
> https://www.reddit.com/r/programming/comments/75rto4/miralgorithm_v0621_python_and_c_interconnection/

Looks like the link on forum is wrong
October 11
On Wednesday, 11 October 2017 at 20:24:05 UTC, Ilya Yaroshenko wrote:
> On Wednesday, 11 October 2017 at 20:19:43 UTC, jmh530 wrote:
>> On Wednesday, 11 October 2017 at 18:52:26 UTC, Ilya Yaroshenko wrote:
>>> On Wednesday, 11 October 2017 at 18:51:44 UTC, Ilya Yaroshenko wrote:
>>>> Could someone process publish it on reddit and hacker news? --Ilya
>>>
>>> process -> please
>>
>> https://www.reddit.com/r/programming/comments/75rto4/miralgorithm_v0621_python_and_c_interconnection/
>
> Looks like the link on forum is wrong

Sorry, deleted the old one.

New one:
https://www.reddit.com/r/programming/comments/75ryyx/miralgorithm_v0621_python_and_c_interconnection/