www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D for a Qt developer

reply "Davita" <dato1100 hotmail.com> writes:
Hi guys. I'm sorry if this is a wrong section for my question, 
I'm totally new in D and D community. I'm a Qt/C++ and .NET 
developer. I'm keeping an eye on D's development and progress for 
a while. First time when I saw D, I thought wow, this is a 
perfect language, without bringing those complexities that comes 
with C++ and with great native code performance, but 
unfortunately my joy suddenly disapeared, because I couldn't find 
a reliable and nice IDE for D that I'm used to work with, such as 
Visual Studio and QtCreator, I couldn't find many usable third 
party libraries in the net and I couldn't find many 
informations/articles/tutorials about D, due to the lack of 
community. So I thought that maybe it's too early to jumpstart 
development in D, I'll wait until community grows, more and more 
developers will get involved and it will be safe to start a 
commercial project. I think I've waited enough :-) and decided to 
dare and ask about it :)

So I wanted to know how big is D community, what third party libs 
is avaliable for D (commercial and open source), what's the best 
IDE to work with D and what's D team is doing to address those 
issues mentioned above. I guess that, despite the fact that D is 
a wonderful language, without a strong community, choice of 
libraries and high quality development tools it won't shine with 
it's full potential. My primary focuses are:
1) Database libs/ORMs.

2) mature UI library (vector based ,declarative or at least to 
support styling like Qt stylesheet).

3) Crypto libs for hashing and with asymmetric algorithm 
implementations.

4) XML libraries for generating and parsing xml docs. Although 
XSD validation support and XSL transforms.

5) networking libs with several main protocol implementations 
such as Http, FTP and SMTP.

6) and of course, RAD styled IDE.

Those are the minimum of my requirements in order to start 
development for a platform. So guys, what do you think, will D be 
useful for me? :-)

P.S. what happened to Qt bindings? I saw that it was abandoned. 
Maybe working with trolltech/Nokia team to integrate D in 
QtCreator and creating and maintening Qt's D bindings would be 
the most awesome decision, but how achievable is it? :)

Thank you very much.
Please forgive me for my broken English
Mar 31 2012
next sibling parent reply dsimcha <dsimcha yahoo.com> writes:
On 3/31/2012 4:23 PM, Davita wrote:

One general comment:  Lots of people ask for the stuff you're asking 
for.  Progress is being made on all the relevant fronts, slowly but surely.

 1) Database libs/ORMs.

I think Steve Teale is working on something for this, but I don't know the details or how much progress is being made.
 2) mature UI library (vector based ,declarative or at least to support
 styling like Qt stylesheet).

I think QtD is now usable since the relevant compiler bugs were ironed out.
 3) Crypto libs for hashing and with asymmetric algorithm implementations.

You would probably be best off linking to a C library for this. The headers are in Deimos. https://github.com/D-Programming-Deimos/openssl
 4) XML libraries for generating and parsing xml docs. Although XSD
 validation support and XSL transforms.

Phobos has a pretty rudimentary XML lib. Tango's been ported to D2, though. You could try it. https://github.com/SiegeLord/Tango-D2
 5) networking libs with several main protocol implementations such as
 Http, FTP and SMTP.

std.net.curl was just added to the latest Phobos release.
 6) and of course, RAD styled IDE.

Visual D might do what you want.
 Those are the minimum of my requirements in order to start development
 for a platform. So guys, what do you think, will D be useful for me? :-)

 P.S. what happened to Qt bindings? I saw that it was abandoned. Maybe
 working with trolltech/Nokia team to integrate D in QtCreator and
 creating and maintening Qt's D bindings would be the most awesome
 decision, but how achievable is it? :)

I personally don't use QtD, so I don't know where it's hosted, but a lot of stuff that was on dsource has moved to Github. If it looks abandoned on dsource, it may have been migrated.
Mar 31 2012
next sibling parent David <d dav1d.de> writes:
 4) XML libraries for generating and parsing xml docs. Although XSD
 validation support and XSL transforms.

Phobos has a pretty rudimentary XML lib. Tango's been ported to D2, though. You could try it. https://github.com/SiegeLord/Tango-D2

You should maybe also mention, https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff/blob/master/dom.d and http://opticron.no-ip.org/svn/branches/kxml/
 5) networking libs with several main protocol implementations such as
 Http, FTP and SMTP.

std.net.curl was just added to the latest Phobos release.

"nazriel" is also working on a "http and other protocols" lib (but in D, with no curl ...), but I don't know the current state, https://github.com/nazriel/netd
Mar 31 2012
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
On 2012-04-01 00:13, dsimcha wrote:
 On 3/31/2012 4:23 PM, Davita wrote:

 3) Crypto libs for hashing and with asymmetric algorithm implementations.

You would probably be best off linking to a C library for this. The headers are in Deimos. https://github.com/D-Programming-Deimos/openssl

Tango has some kind of support for cryptography.
 5) networking libs with several main protocol implementations such as
 Http, FTP and SMTP.

std.net.curl was just added to the latest Phobos release.

Tango also have some net related modules.
 6) and of course, RAD styled IDE.

Visual D might do what you want.

You could also have a look at the Eclipse plugin DDT: http://code.google.com/a/eclipselabs.org/p/ddt/ -- /Jacob Carlborg
Apr 01 2012
prev sibling next sibling parent Mike Parker <aldacron gmail.com> writes:
On 4/1/2012 7:12 PM, Davita wrote:
 On Sunday, 1 April 2012 at 07:53:37 UTC, Andrej Mitrovic wrote:
 On 4/1/12, dsimcha <dsimcha yahoo.com> wrote:
 I think QtD is now usable since the relevant compiler bugs were
 ironed out.

I doubt that it even compiles. The last update was almost a year ago, and I've had access violations with D2 back then.

Well, that's what i'm talking about. D is such a wonderful language that it should scream on different forums and sites such as stackoverflow or codeproject, but instead it's very quite, passive. And I think this is due to the lack of quality development tools. :( None of the companies or organizations I know would never start development on DWT or QtD. Shouldn't D team address those issues? I mean, only enthusiasmic community can't do much here. I think a sponsor or some commercial interest is a must, or as I already mentioned above, to work with Nokia guys and bring D with QtCreator. Or maybe to work with MS and integrate D in VS and WinRT api. If one big organization starts using D, then more and more people will have trust in D and start using it. Otherwise I don't think the future of D will be as bright as it should :(

The core D "team" already have enough on their plates in developing the DMD compiler, DRuntime, and Phobos. There's just not enough manpower there to go off on tangents, however beneficial they may be. It's a matter of priorities. For the time being, that sort of thing has to be community-driven. The situation now is a far sight better than it used to be. Eventually, the tool chain will be there and those who can't live without all of the frilly bells and whistles will be satisfied. Until that time, those of us who *can* live without all of that can use D quite happily. And the more of us who do, the closer we get to Nirvana. Baby steps and all that.
Apr 01 2012
prev sibling parent reply "Nick Sabalausky" <a a.a> writes:
"Jesse Phillips" <Jessekphillips+D gmail.com> wrote in message 
news:wazenwszxxaipyabwovo forum.dlang.org...
 On Sunday, 1 April 2012 at 10:12:45 UTC, Davita wrote:

  Or maybe to work with MS and integrate D in VS and WinRT api.

Or an MS employee can try it on their own: http://www.reddit.com/tb/ow7qc

Whoa, that's fucking awesome! I've always shied away from COM for anything other than the boilerplate to init DirectX, but that's just...wow! That should be in Phobos!
Apr 02 2012
parent "Paulo Pinto" <pjmlp progtools.org> writes:
Well, since Windows 2000 the amount of COM only APIs have been increasing,
so most languages have to have some kind of COM bindings.

I really find nice that D offers such integration with COM.

--
Paulo

"Nick Sabalausky"  wrote in message news:jle3ug$2o70$1 digitalmars.com... 

"Jesse Phillips" <Jessekphillips+D gmail.com> wrote in message 
news:wazenwszxxaipyabwovo forum.dlang.org...
 On Sunday, 1 April 2012 at 10:12:45 UTC, Davita wrote:

  Or maybe to work with MS and integrate D in VS and WinRT api.

Or an MS employee can try it on their own: http://www.reddit.com/tb/ow7qc

Whoa, that's fucking awesome! I've always shied away from COM for anything other than the boilerplate to init DirectX, but that's just...wow! That should be in Phobos!
Apr 04 2012
prev sibling next sibling parent "F i L" <witte2008 gmail.com> writes:
On Saturday, 31 March 2012 at 20:23:47 UTC, Davita wrote:
 I couldn't find a reliable and nice IDE for D that I'm used to 
 work with, such as Visual Studio and QtCreator

Try Mono-D, it's a MonoDevelop addon with code-completion and project management. Plus, debugging (though gdb) on Linux. http://mono-d.alexanderbothe.com/
Mar 31 2012
prev sibling next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 4/1/12, dsimcha <dsimcha yahoo.com> wrote:
 I think QtD is now usable since the relevant compiler bugs were ironed out.

I doubt that it even compiles. The last update was almost a year ago, and I've had access violations with D2 back then.
Apr 01 2012
prev sibling next sibling parent "Davita" <dato1100 hotmail.com> writes:
On Sunday, 1 April 2012 at 07:53:37 UTC, Andrej Mitrovic wrote:
 On 4/1/12, dsimcha <dsimcha yahoo.com> wrote:
 I think QtD is now usable since the relevant compiler bugs 
 were ironed out.

I doubt that it even compiles. The last update was almost a year ago, and I've had access violations with D2 back then.

Well, that's what i'm talking about. D is such a wonderful language that it should scream on different forums and sites such as stackoverflow or codeproject, but instead it's very quite, passive. And I think this is due to the lack of quality development tools. :( None of the companies or organizations I know would never start development on DWT or QtD. Shouldn't D team address those issues? I mean, only enthusiasmic community can't do much here. I think a sponsor or some commercial interest is a must, or as I already mentioned above, to work with Nokia guys and bring D with QtCreator. Or maybe to work with MS and integrate D in VS and WinRT api. If one big organization starts using D, then more and more people will have trust in D and start using it. Otherwise I don't think the future of D will be as bright as it should :(
Apr 01 2012
prev sibling next sibling parent Gour <gour atmarama.net> writes:
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 01 Apr 2012 12:12:43 +0200
"Davita" <dato1100 hotmail.com> wrote:

 Well, that's what i'm talking about. D is such a wonderful=20
 language that it should scream on different forums and sites such=20
 as stackoverflow or codeproject, but instead it's very quite,=20
 passive. And I think this is due to the lack of quality=20
 development tools. :(

Well, Andrej is heavily working on new wxD...that's definitely something for C++, although not necessarily, Qt developer. ;) Sincerely, Gour --=20 There is no work that affects Me; nor do I aspire for the=20 fruits of action. One who understands this truth about Me also=20 does not become entangled in the fruitive reactions of work. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
Apr 01 2012
prev sibling next sibling parent "Jesse Phillips" <Jessekphillips+D gmail.com> writes:
On Sunday, 1 April 2012 at 10:12:45 UTC, Davita wrote:

  Or maybe to work with MS and integrate D in VS and WinRT api.

Or an MS employee can try it on their own: http://www.reddit.com/tb/ow7qc
Apr 02 2012
prev sibling parent "Jesse Phillips" <jessekphillips+D gmail.com> writes:
On Tuesday, 3 April 2012 at 06:05:04 UTC, Nick Sabalausky wrote:
 Whoa, that's fucking awesome! I've always shied away from COM 
 for anything
 other than the boilerplate to init DirectX, but that's 
 just...wow!

 That should be in Phobos!

Most of his code isn't available as it was kind of under Microsoft. However I revived Juno for D2 awhile ago (still need to play with it myself). Juno provides some nice tools and API, I don't think the licensing allows for Boost though. https://github.com/JesseKPhillips/Juno-Windows-Class-Library http://dsource.org/projects/juno
Apr 03 2012