www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - mir-algorithm v0.6.21: Python and C++ interconnection + API sugar

reply Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
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
Oct 11 2017
next sibling parent reply jmh530 <john.michael.hall gmail.com> writes:
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
Oct 11 2017
parent Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
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
Oct 11 2017
prev sibling parent reply Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
Could someone process publish it on reddit and hacker news? --Ilya
Oct 11 2017
parent reply Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
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
Oct 11 2017
parent reply jmh530 <john.michael.hall gmail.com> writes:
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/
Oct 11 2017
parent reply Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
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
Oct 11 2017
parent jmh530 <john.michael.hall gmail.com> writes:
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/
Oct 11 2017