digitalmars.D - ML With Dlang???
- Ahamed (4/4) Aug 01 .. Soo.. is it possible to learn / make ml model in dlang?
- Sergey (6/10) Aug 01 Yes, its possible.
- monkyyy (6/10) Aug 01 you could ask an ai on low settings to make k-means in dlang
- Denis F (4/8) Aug 03 Six months ago, there was a lot of hype around Andrej Karpathy's
- Lance Bachmeier (13/17) Aug 03 Your inquiry isn't precise, so I'll give an answer based on
- Serg Gini (2/6) Aug 03 Rewriting could be useful for learning though.
- Meta (2/6) Aug 03 https://blog.dlang.org/2026/06/07/teaching-an-ai-to-know-itself-building...
- Vladimir Panteleev (8/12) Aug 04 Yes, there are a few libraries. All abandoned, I think.
- Serg Gini (3/4) Aug 04 Though these all are DL libs not ML :)
- Vladimir Panteleev (5/9) Aug 04 I don't know what definition you're using, but "deep learning" is
- Serg Gini (4/14) Aug 04 exactly. DL is a part of ML
.. Soo.. is it possible to learn / make ml model in dlang? anyone had made it? or has any clear knowledge about the process? ( any lib/framework suggestion/ ongoing tools) help me with this! THANKS
Aug 01
On Saturday, 1 August 2026 at 20:06:51 UTC, Ahamed wrote:.. Soo.. is it possible to learn / make ml model in dlang? anyone had made it? or has any clear knowledge about the process? ( any lib/framework suggestion/ ongoing tools) help me with this! THANKSYes, its possible. I'm working on several libs/frameworks. But I wouldn't recommend it for newcomers. Better to stick with popular solutions from R/Python. But which kind of models are interesting for you?
Aug 01
On Saturday, 1 August 2026 at 20:06:51 UTC, Ahamed wrote:.. Soo.. is it possible to learn / make ml model in dlang? anyone had made it? or has any clear knowledge about the process? ( any lib/framework suggestion/ ongoing tools) help me with this! THANKSyou could ask an ai on low settings to make k-means in dlang Theres a few (cpu?) nn's I been meaning to write some custom stuff Id probaly see yes for any small scale stuff, competitive super computer nn's not really go do that with the magic c++
Aug 01
On Saturday, 1 August 2026 at 20:06:51 UTC, Ahamed wrote:.. Soo.. is it possible to learn / make ml model in dlang? anyone had made it? or has any clear knowledge about the process? ( any lib/framework suggestion/ ongoing tools) help me with this! THANKSSix months ago, there was a lot of hype around Andrej Karpathy's microgpt.py: https://forum.dlang.org/thread/rbfrsdnxjlikmmdeqmgs forum.dlang.org
Aug 03
On Saturday, 1 August 2026 at 20:06:51 UTC, Ahamed wrote:.. Soo.. is it possible to learn / make ml model in dlang? anyone had made it? or has any clear knowledge about the process? ( any lib/framework suggestion/ ongoing tools) help me with this! THANKSYour inquiry isn't precise, so I'll give an answer based on strong assumptions. I'd use either version of this book if the goal is to learn ML from the beginning: https://www.statlearning.com/ I would rewrite or extend the libraries in D. If you want AI assistance converting code and/or math to D, I recommend using Laguna S 2.1, as it's dirt cheap and very capable with D (same could be said for GPT Luna, but there's still a significant price gap compared to Laguna). My answer reflects a view that there's no reason to rewrite working code if you can trivially call it (and that's been a foundation of D from the beginning). What has value is if you're writing new functionality in D.
Aug 03
On Monday, 3 August 2026 at 14:05:02 UTC, Lance Bachmeier wrote:My answer reflects a view that there's no reason to rewrite working code if you can trivially call it (and that's been a foundation of D from the beginning). What has value is if you're writing new functionality in D.Rewriting could be useful for learning though.
Aug 03
On Saturday, 1 August 2026 at 20:06:51 UTC, Ahamed wrote:.. Soo.. is it possible to learn / make ml model in dlang? anyone had made it? or has any clear knowledge about the process? ( any lib/framework suggestion/ ongoing tools) help me with this! THANKShttps://blog.dlang.org/2026/06/07/teaching-an-ai-to-know-itself-building-a-local-llm-agent-in-d/
Aug 03
On Saturday, 1 August 2026 at 20:06:51 UTC, Ahamed wrote:.. Soo.. is it possible to learn / make ml model in dlang? anyone had made it? or has any clear knowledge about the process? ( any lib/framework suggestion/ ongoing tools) help me with this! THANKSYes, there are a few libraries. All abandoned, I think. - Most famous, Netflix VectorFlow: https://github.com/Netflix/vectorflow - grain (has some CUDA support): https://github.com/ShigekiKarita/grain - Drain (my own, focuses on design / code clarity rather than features): https://github.com/CyberShadow/Drain
Aug 04
On Tuesday, 4 August 2026 at 12:50:35 UTC, Vladimir Panteleev wrote:Yes, there are a few libraries. All abandoned, I think.Though these all are DL libs not ML :)
Aug 04
On Tuesday, 4 August 2026 at 13:57:46 UTC, Serg Gini wrote:On Tuesday, 4 August 2026 at 12:50:35 UTC, Vladimir Panteleev wrote:I don't know what definition you're using, but "deep learning" is generally considered to be a kind of machine learning. https://en.wikipedia.org/wiki/Deep_learning https://en.wikipedia.org/wiki/Machine_learningYes, there are a few libraries. All abandoned, I think.Though these all are DL libs not ML :)
Aug 04
On Tuesday, 4 August 2026 at 14:27:48 UTC, Vladimir Panteleev wrote:On Tuesday, 4 August 2026 at 13:57:46 UTC, Serg Gini wrote:exactly. DL is a part of ML But many ML algos have different simpler approaches.On Tuesday, 4 August 2026 at 12:50:35 UTC, Vladimir Panteleev wrote:I don't know what definition you're using, but "deep learning" is generally considered to be a kind of machine learning. https://en.wikipedia.org/wiki/Deep_learning https://en.wikipedia.org/wiki/Machine_learningYes, there are a few libraries. All abandoned, I think.Though these all are DL libs not ML :)
Aug 04









Sergey <kornburn yandex.ru> 