# ¿Qué opinas sobre que D tenga sus propias librerías de IA y compita con Python? / # What do you think about D having its own AI libraries and competing with Python?

Sergey kornburn at yandex.ru
Fri May 2 20:46:28 UTC 2025


On Friday, 2 May 2025 at 20:31:09 UTC, Lance Bachmeier wrote:
> On Friday, 2 May 2025 at 19:38:35 UTC, Sergey wrote:
>
>> For any significant improvement and development you need quite 
>> big community.
>> Even if the new DL framework will be released in D - I don't 
>> think it will get any wide adoption - because there is no 
>> community who will improve and push forward the solution.
>
> There would be no reason for anyone to adopt it unless it does 
> something unique.

Exactly.
And even if it will have something unique - it will be just 
ported to Python-ecosystem in 1 week/month. And it will be done.

>> For example, Rust has several ML frameworks. And because they 
>> are more resource efficient and they have Rust community - 
>> they are trying to push it.. but even they can't really 
>> compete with Python for now. But they have a chance.
>
> I can't say I've looked at everything Rust has pushed in this 
> area, but their standard thing about rewriting stuff in Rust 
> works for a small Unix utility, and then they can post it to 
> Hacker News and get upvotes because "Woah! Neat!" That strategy 
> will be completely useless in this area because the target 
> audience wants to get stuff done and they don't have a use for 
> a weird, complex language.

Actually the API they are creating for such frameworks are quite 
close to Pythonic.
For example candle and burn 2 quite popular frameworks.
Other libs can be found here: https://www.arewelearningyet.com

>> Where D can be applied from my point of view - "unix way" 
>> approach.
>> Some small task which doesn't require GPU support with some 
>> usage of C++/C API Rust libs - maybe possible way to use the 
>> language.
>>
>> Or for educational purposes implement some algorithms in D 
>> also could be fine.
>
> It would be worthwhile to do everything before and after 
> calling the ML library in D. It's a matter of someone writing a 
> convenient library. In this community, unfortunately, you'd 
> likely get a bunch of templated crap that will drive people 
> away.

The data pipeline is possible but again they are using quite rich 
ecosystems, which could be either web-service oriented (which is 
usually very Go specific) or BigData oriented (which is very Java 
specific with Hadoop and Scala's Spark).


More information about the Digitalmars-d mailing list