www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Contributing to Mir libraries

reply Iskaban10 <sourishjana10 gmail.com> writes:
Hi everyone,

I’m planning to submit a proposal for SAOC this year and wanted 
some feedback on my idea.

I am interested in mathematics and optimization, and am thinking 
of expanding the Mir libraries. Looking at the repositories, it 
seems like these libraries aren't actively maintained at the 
moment.

I wanted to know that since most of these libraries like 
mir-optim and mir-stats are currently unmaintained, are there any 
chances of reviving them?
Would also appreciate any  suggestions.
Aug 18
parent reply Serg Gini <kornburn yandex.ru> writes:
On Tuesday, 18 August 2026 at 12:57:51 UTC, Iskaban10 wrote:
 Hi everyone,

 I’m planning to submit a proposal for SAOC this year and wanted 
 some feedback on my idea.

 I am interested in mathematics and optimization, and am 
 thinking of expanding the Mir libraries. Looking at the 
 repositories, it seems like these libraries aren't actively 
 maintained at the moment.
I think jmh530 is still maintaining it =)
 I wanted to know that since most of these libraries like 
 mir-optim and mir-stats are currently unmaintained, are there 
 any chances of reviving them?
 Would also appreciate any  suggestions.
I'm working on the code that potentially could become a mir-ml in the future So it would be nice to have some work on mir libs. One of the potential tasks I would like to see in mir - is more betterC-fication. I think last time I've tried to use some libs in betterC mode - I found out that some modules are still using Phobos.
Aug 18
next sibling parent reply jmh530 <john.michael.hall gmail.com> writes:
On Tuesday, 18 August 2026 at 13:18:17 UTC, Serg Gini wrote:
 On Tuesday, 18 August 2026 at 12:57:51 UTC, Iskaban10 wrote:
 Hi everyone,

 I’m planning to submit a proposal for SAOC this year and 
 wanted some feedback on my idea.

 I am interested in mathematics and optimization, and am 
 thinking of expanding the Mir libraries. Looking at the 
 repositories, it seems like these libraries aren't actively 
 maintained at the moment.
I think jmh530 is still maintaining it =)
I would distinguish between maintaining and actively adding new functionality. I don't have a lot of free time right now to add new functionality*, but I've been checking on things and pay attention to new issues or PRs. mir-algorithm was still compiling for me back in February, so I see no reason why it wouldn't work fine now. There are some failures in the CI, but they were dependent on getting some things fixed in LDC, which I believe subsequently happened. So the test suite should pass more of the options now. With respect to optimization, my recommendation would be to just use importC and bring in something like nlopt (or something else). Why reinvent the wheel? At one point I had a wrapper for nlpot, but I wrote it a number of years ago and haven't used it much since then). I can't recall using mir-optim. For that matter, I think there is scope in D for bringing in more numerical libraries with importC. With respect to the path forward generally on mir, Ilya ( 9il) was the driving force behind mir-algorithm. He continues to provide support, but he is not not adding new features and does not want any breaking changes. I think that the folks at Symmetry still make use of it, so you might want to reach out to someone who works with them to get a better sense of what they might need/want most. * The outstanding work I never got around to finishing for mir-stat was support for histograms and adding in blas support so that I could do multiple regression
Aug 18
parent reply Iskaban10 <sourishjana10 gmail.com> writes:
On Tuesday, 18 August 2026 at 15:11:58 UTC, jmh530 wrote:
 On Tuesday, 18 August 2026 at 13:18:17 UTC, Serg Gini wrote:
 On Tuesday, 18 August 2026 at 12:57:51 UTC, Iskaban10 wrote:
 Hi everyone,

 I’m planning to submit a proposal for SAOC this year and 
 wanted some feedback on my idea.

 I am interested in mathematics and optimization, and am 
 thinking of expanding the Mir libraries. Looking at the 
 repositories, it seems like these libraries aren't actively 
 maintained at the moment.
I think jmh530 is still maintaining it =)
I would distinguish between maintaining and actively adding new functionality. I don't have a lot of free time right now to add new functionality*, but I've been checking on things and pay attention to new issues or PRs. mir-algorithm was still compiling for me back in February, so I see no reason why it wouldn't work fine now. There are some failures in the CI, but they were dependent on getting some things fixed in LDC, which I believe subsequently happened. So the test suite should pass more of the options now. With respect to optimization, my recommendation would be to just use importC and bring in something like nlopt (or something else). Why reinvent the wheel? At one point I had a wrapper for nlpot, but I wrote it a number of years ago and haven't used it much since then). I can't recall using mir-optim. For that matter, I think there is scope in D for bringing in more numerical libraries with importC.
I was thinking of having a lot more functionalities like optimization and scientific computing and writing them from scratch like Julia or python. I'll also check the numerical libraries in C.
 With respect to the path forward generally on mir, Ilya ( 9il) 
 was the driving force behind mir-algorithm. He continues to 
 provide support, but he is not not adding new features and does 
 not want any breaking changes. I think that the folks at 
 Symmetry still make use of it, so you might want to reach out 
 to someone who works with them to get a better sense of what 
 they might need/want most.
Thank you. I am also looking for someone to guide me. I don't know anyone from Symmetry so I'd love to know if you would mentor me for this.
Aug 18
parent reply jmh530 <john.michael.hall gmail.com> writes:
On Tuesday, 18 August 2026 at 18:14:40 UTC, Iskaban10 wrote:
 Thank you. I am also looking for someone to guide me. I don't 
 know anyone from Symmetry so I'd love to know if you would 
 mentor me for this.
You can also try the Discord. I think the key thing is the choice of project that would be useful to Symmetry and that you would also find interesting. I don’t have any good sense of that. I know what I’m interested in, but that’s not necessarily what the folks at Symmetry would find useful. If you find a project that I have some tangential knowledge of and can’t find anyone else to mentor, then I’m willing to be a backup.
Aug 19
parent Iskaban10 <sourishjana10 gmail.com> writes:
 If you find a project that I have some tangential knowledge of 
 and can’t find anyone else to mentor, then I’m willing to be a 
 backup.
Thanks
Aug 20
prev sibling parent reply Iskaban10 <sourishjana10 gmail.com> writes:
On Tuesday, 18 August 2026 at 13:18:17 UTC, Serg Gini wrote:

 I'm working on the code that potentially could become a mir-ml 
 in the future
 So it would be nice to have some work on mir libs.

 One of the potential tasks I would like to see in mir - is more 
 betterC-fication.
 I think last time I've tried to use some libs in betterC mode - 
 I found out that some modules are still using Phobos.
Thank you. Since you mentioned about mir-ml work, are there any particular libraries you'd want changes in?
Aug 18
parent reply Sergey <kornburn yandex.ru> writes:
On Tuesday, 18 August 2026 at 17:50:25 UTC, Iskaban10 wrote:
 Thank you. Since you mentioned about mir-ml work, are there any 
 particular libraries you'd want changes in?
I don't recall specific changes. I would try to build it one more time and will let you know. For now I'm using only core libs (no optim and no stat packages): ``` "dependencies": { "mir-blas": "~>1.1.17", "mir-random": "~>2.2.20", "silly": "~>1.1.1", "mir-ion": "~>2.3.5", "mir-algorithm": "~>3.22.4" }, ```
Aug 18
parent Iskaban10 <sourishjana10 gmail.com> writes:
 I don't recall specific changes. I would try to build it one 
 more time and will let you know.
 For now I'm using only core libs (no optim and no stat 
 packages):
 ```
 "dependencies": {
     "mir-blas": "~>1.1.17",
     "mir-random": "~>2.2.20",
     "silly": "~>1.1.1",
     "mir-ion": "~>2.3.5",
     "mir-algorithm": "~>3.22.4"
   },
 ```
OkkšŸ‘
Aug 20