D for Web Development?

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 8 01:36:38 PDT 2017


Welcome!

On Thursday, 8 June 2017 at 07:32:44 UTC, Michael Reiland wrote:
> A few questions:
>
> - Is vibe.d the recommended way of doing web work?

Yes. Adam D. Ruppe also has some easy to use libraries that may 
suit your need.

> - Is that book worth purchasing?

Don't know.

> - Does D have a good library for accessing Postgres?  I see 
> several listed but I don't know what the most stable would be 
> for production:  
> https://wiki.dlang.org/Libraries_and_Frameworks#Databases

When looking for D libraries use code.dlang.org. Sorting by most 
recently updated is the best proxy for activity at the moment.

>
> - Why is D a better solution than Go or .Net Core?  Is there 
> something else you would recommend given what I'm looking for?
>
> Here's my take on the last one.
>
> .Net Core is still immature and probably the most complex in 
> terms of infrastructure setup/maintenance.  And my impression 
> is that Go vs D in the web space is more about personal 
> preference than any particular advantage, and I'm coming from 
> C++ so I think D would be more my cup of tea.
>
> But that's just my impression from some initial googling.
>
> thoughts?  recommendations?

If you're coming from C++ you should pick up D in almost no time 
and it will feel much more natural and less repetitive than go.

The best introductory reference is 
http://ddili.org/ders/d.en/index.html if you come across 
something you're unfamiliar with, but that is aimed more at 
beginners, so you can just skim it.

The vibe.d site has may good examples.

You've already discovered one of the good places to ask questions 
(the other being the IRC), so feel free to ask away if you have 
any more.

Good luck!




More information about the Digitalmars-d-learn mailing list