Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
October 18, 2016 From Python to Dlang | ||||
---|---|---|---|---|
| ||||
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 |
October 19, 2016 Re: From Python to Dlang | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alfred Newman | 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. > > Cheers TDPL 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/ |
October 18, 2016 Re: From Python to Dlang | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alfred Newman | 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. > > Cheers http://wiki.dlang.org/Programming_in_D_for_Python_Programmers And also of interest: http://code.dlang.org/packages/pyd |
October 18, 2016 Re: From Python to Dlang | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alfred Newman | 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. > > Cheers Another great book, available for free online: http://ddili.org/ders/d.en/index.html |
October 18, 2016 Re: From Python to Dlang | ||||
---|---|---|---|---|
| ||||
Posted in reply to Edwin van Leeuwen | @All, thanks a lot ! |
October 19, 2016 Re: From Python to Dlang | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alfred Newman | 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.
>
> Cheers
Welcome.
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.
|
Copyright © 1999-2021 by the D Language Foundation