Thread overview
D for data science and statistics
Jun 04, 2022
Nicolas
Jun 04, 2022
Alain De Vos
Jun 04, 2022
Sergey
Jun 05, 2022
Ali Çehreli
June 04, 2022

Hi all!

Pleased to meet you. I am currently deep-diving into data analysis and statistics with R and SQL. I got mid-level programming experience, focusing on algorithms and innovation instead of sticking to one programming language.

I only got three questions:

  1. Is there any extensive, up-to-date documentation on D? I really like its syntax and potential, so I am going to try and study anything regarding this programming language.

  2. What about its integration with data analysis tools? Do you think it could be an alternative to, let's say, Python?

  3. What IDE do you recommend when it comes to D?

Thank you all. You're awesome ^-^

June 04, 2022

As i personally did not used Windows the last 5 years, i use as editor for any language:
neovim-qt. Someone else might answer about good Windows editors.
As for the other questions google "awesome dlang" will return interesting results.
I consider Dlang general purpose as opposed to specialized languages like R or Julia.

June 04, 2022

On Saturday, 4 June 2022 at 20:26:54 UTC, Nicolas wrote:

>

Hi all!

Pleased to meet you. I am currently deep-diving into data analysis and statistics with R and SQL. I got mid-level programming experience, focusing on algorithms and innovation instead of sticking to one programming language.

I only got three questions:

  1. Is there any extensive, up-to-date documentation on D? I really like its syntax and potential, so I am going to try and study anything regarding this programming language.

  2. What about its integration with data analysis tools? Do you think it could be an alternative to, let's say, Python?

  3. What IDE do you recommend when it comes to D?

Thank you all. You're awesome ^-^

Hi there!

  1. Phobos documentation is available online. Great book also http://ddili.org/ders/d.en/index.html

  2. R integration: https://dlang.org/blog/2020/01/27/d-for-data-science-calling-r-from-d/
    Python integration: https://pyd.readthedocs.io/en/latest/
    D usage in Data Science example: https://tech.nextroll.com/blog/data/2014/11/17/d-is-for-data-science.html
    Stats package: https://github.com/DlangScience/dstats

  3. one of the best is “Code-d” LSP server, which could be used from VS Code or Vim/NeoVim

PS there are several Machine Learning libraries: vectorflow from Netflix, grain and rnnlib
But all of them are far away from modern libs like TF or PyTorch or OpenAI

June 04, 2022
On 6/4/22 13:26, Nicolas wrote:

> 2. What about its integration with data analysis tools? Do you think it
> could be an alternative to, let's say, Python?

I suspect Python is much more mature in that space. I would browse the following page, which lists many organizations using D for data processing:

  https://dlang.org/orgs-using-d.html

Wow! Time passes fast... It's been 8 years since the following article came up:

  https://tech.nextroll.com/blog/data/2014/11/17/d-is-for-data-science.html

And the following is by Netflix:

  https://netflixtechblog.medium.com/introducing-vectorflow-fe10d7f126b8

There is also open source code which may have useful modules. Here are results for searching "statistics":

  https://code.dlang.org/search?q=statistics

And Mir appears under "science":

  https://code.dlang.org/search?q=science

Ali