digitalmars.D.learn - From Python to Dlang
- Alfred Newman (13/13) Oct 18 2016 Hello and greetings,
- rikki cattermole (13/25) Oct 18 2016 TDPL is a great book to get an idea of what D is meant to do.
- bachmeier (4/17) Oct 18 2016 http://wiki.dlang.org/Programming_in_D_for_Python_Programmers
- Edwin van Leeuwen (3/9) Oct 18 2016 Another great book, available for free online:
- Alfred Newman (1/1) Oct 18 2016 @All, thanks a lot !
- Laeeth Isharc (6/19) Oct 19 2016 Welcome.
Hello and greetings, I'm a brand new D developer coming from Python. I decided to move to D, mainly because it's a compiled language and has a great runtime speed (and I don't feel confortable at Cython environment at all). And of course, D has a nice community and the language has nice syntax too... and is a joy to code with. However, I have some important production code in Python to migrate to D and every help will count ! So, can you pls guys suggest me any resource like "D for a Python Developer" or so ? BTW, I just ordered the "D Programming Language" book from AA. Cheers
Oct 18 2016
On 19/10/2016 1:03 AM, Alfred Newman wrote:Hello and greetings, I'm a brand new D developer coming from Python. I decided to move to D, mainly because it's a compiled language and has a great runtime speed (and I don't feel confortable at Cython environment at all). And of course, D has a nice community and the language has nice syntax too... and is a joy to code with. However, I have some important production code in Python to migrate to D and every help will count ! So, can you pls guys suggest me any resource like "D for a Python Developer" or so ? BTW, I just ordered the "D Programming Language" book from AA. CheersTDPL is a great book to get an idea of what D is meant to do. But it isn't completely matching up to what D is today. There is an errata which contains errors with corrections[0]. You may also want to take a look at[1]. Otherwise browse the official spec, that is the way I learned. Once you've got some of the basics down p0nce has a great D idioms resource[2]. If you run into trouble, please join us in #d on Freenode (IRC). Much easier to help solve problems since it is interactive there. [0] http://erdani.com/tdpl/errata/ [1] http://tour.dlang.org [2] http://p0nce.github.io/d-idioms/
Oct 18 2016
On Tuesday, 18 October 2016 at 12:03:54 UTC, Alfred Newman wrote:Hello and greetings, I'm a brand new D developer coming from Python. I decided to move to D, mainly because it's a compiled language and has a great runtime speed (and I don't feel confortable at Cython environment at all). And of course, D has a nice community and the language has nice syntax too... and is a joy to code with. However, I have some important production code in Python to migrate to D and every help will count ! So, can you pls guys suggest me any resource like "D for a Python Developer" or so ? BTW, I just ordered the "D Programming Language" book from AA. Cheershttp://wiki.dlang.org/Programming_in_D_for_Python_Programmers And also of interest: http://code.dlang.org/packages/pyd
Oct 18 2016
On Tuesday, 18 October 2016 at 12:03:54 UTC, Alfred Newman wrote:Hello and greetings, I'm a brand new D developer coming from Python. So, can you pls guys suggest me any resource like "D for a Python Developer" or so ? BTW, I just ordered the "D Programming Language" book from AA. CheersAnother great book, available for free online: http://ddili.org/ders/d.en/index.html
Oct 18 2016
On Tuesday, 18 October 2016 at 12:03:54 UTC, Alfred Newman wrote:Hello and greetings, I'm a brand new D developer coming from Python. I decided to move to D, mainly because it's a compiled language and has a great runtime speed (and I don't feel confortable at Cython environment at all). And of course, D has a nice community and the language has nice syntax too... and is a joy to code with. However, I have some important production code in Python to migrate to D and every help will count ! So, can you pls guys suggest me any resource like "D for a Python Developer" or so ? BTW, I just ordered the "D Programming Language" book from AA. CheersWelcome. Bear in mind that you can embed python in your D code using pyd if you want to do the port in stages. You can write D libraries for python too - that's a bit fiddlier though, and docs are a bit stale.
Oct 19 2016