www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Code Poet with DWT ?

reply John <jcrazydog gmail.com> writes:
Hi Jeremie, just curious, have you measured the effort to use DWT
instead of wxWidgets for Code Poet ?
Nov 30 2009
parent reply Jeremie Pelletier <jeremiep gmail.com> writes:
John wrote:
 Hi Jeremie, just curious, have you measured the effort to use DWT
 instead of wxWidgets for Code Poet ?

More or less, I wasn't aware of any DWT for D2 at the time and I'd rather use C++ with boost than D1, just a matter of personal preference (D2 > C++ w/ boost > D1 > C++ w/o boost.) A GUI application is much easier to develop with an IDE with debugging capabilities like VisualStudio. And using precompiled headers drops the compile times close to what dmd would do. The goal of the IDE is not to show off what can be done with D, but to make it possible. Jeremie
Nov 30 2009
next sibling parent reply Bill Baxter <wbaxter gmail.com> writes:
On Mon, Nov 30, 2009 at 3:24 PM, Jeremie Pelletier <jeremiep gmail.com> wrote:
 John wrote:
 Hi Jeremie, just curious, have you measured the effort to use DWT
 instead of wxWidgets for Code Poet ?

More or less, I wasn't aware of any DWT for D2 at the time and I'd rather use C++ with boost than D1, just a matter of personal preference (D2 > C++ w/ boost > D1 > C++ w/o boost.) A GUI application is much easier to develop with an IDE with debugging capabilities like VisualStudio. And using precompiled headers drops the compile times close to what dmd would do. The goal of the IDE is not to show off what can be done with D, but to make it possible.

How about QtD? That supposedly works with D2. Haven't had a chance to confirm it myself, though. But even if you're using C++ -- now that Qt is LGPL I don't see why anyone would choose wxWidgets, unless they really have to because of wx's more liberal licensing. But LGPL is good enough for most things. I would think it should certainly be good enough for an IDE that itself will be GPL. --bb
Nov 30 2009
parent reply Jeremie Pelletier <jeremiep gmail.com> writes:
Bill Baxter wrote:
 On Mon, Nov 30, 2009 at 3:24 PM, Jeremie Pelletier <jeremiep gmail.com> wrote:
 John wrote:
 Hi Jeremie, just curious, have you measured the effort to use DWT
 instead of wxWidgets for Code Poet ?

use C++ with boost than D1, just a matter of personal preference (D2 > C++ w/ boost > D1 > C++ w/o boost.) A GUI application is much easier to develop with an IDE with debugging capabilities like VisualStudio. And using precompiled headers drops the compile times close to what dmd would do. The goal of the IDE is not to show off what can be done with D, but to make it possible.

How about QtD? That supposedly works with D2. Haven't had a chance to confirm it myself, though. But even if you're using C++ -- now that Qt is LGPL I don't see why anyone would choose wxWidgets, unless they really have to because of wx's more liberal licensing. But LGPL is good enough for most things. I would think it should certainly be good enough for an IDE that itself will be GPL. --bb

I'm not really familiar with Qt unfortunately, and my GUI code is mostly done except for a few dialogs and events. Jeremie
Nov 30 2009
parent reply John <jcrazydog gmail.com> writes:
Move on man, wxWidgets is doing the job for the project so keep it.

If someone wants later on to rewrite Code Poet using DWT or QtD, no
problem, let him do it.

I think D needs desperately a good IDE+Debugger (no offense Descent)
and I hope Code Poet to fill this gap.

I regret having done my original question.
Dec 01 2009
parent reply BLS <windevguy hotmail.de> writes:
On 01/12/2009 14:09, John wrote:
 Move on man, wxWidgets is doing the job for the project so keep it.

 If someone wants later on to rewrite Code Poet using DWT or QtD, no
 problem, let him do it.

 I think D needs desperately a good IDE+Debugger (no offense Descent)
 and I hope Code Poet to fill this gap.

 I regret having done my original question.

John, ATM there is nothing available in DWT which compares to WXAUI.(the docking manager)... and seriously no IDE can live without that. ( It depends on the implementation, but in general you can say that a plug-in based IDE requires that feature desperately. I ask Frank (keinfarbon) if there is a chance to implement it. But Frank teaches me that this is more an RCP feature than a SWT, respective DWT, thingy. Another reason why /I/ would not choose DWT as IDE GUI toolkit (atm) is that DWT creates pretty fat binaries. And finally (sorry Frank) DWT is too Java-esque. my 2 cents
Dec 01 2009
parent Jeremie Pelletier <jeremiep gmail.com> writes:
BLS wrote:
 On 01/12/2009 14:09, John wrote:
 Move on man, wxWidgets is doing the job for the project so keep it.

 If someone wants later on to rewrite Code Poet using DWT or QtD, no
 problem, let him do it.

 I think D needs desperately a good IDE+Debugger (no offense Descent)
 and I hope Code Poet to fill this gap.

 I regret having done my original question.

John, ATM there is nothing available in DWT which compares to WXAUI.(the docking manager)... and seriously no IDE can live without that. ( It depends on the implementation, but in general you can say that a plug-in based IDE requires that feature desperately.

This is the main reason why I chose wxWidgets, the only downside of wxAUI is that it doesn't support tabbed docks but I'm pretty sure it would be easy to implement on top of the existing frame manager. Jeremie
Dec 01 2009
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 12/1/09 00:24, Jeremie Pelletier wrote:
 John wrote:
 Hi Jeremie, just curious, have you measured the effort to use DWT
 instead of wxWidgets for Code Poet ?

More or less, I wasn't aware of any DWT for D2 at the time and I'd rather use C++ with boost than D1, just a matter of personal preference (D2 > C++ w/ boost > D1 > C++ w/o boost.) A GUI application is much easier to develop with an IDE with debugging capabilities like VisualStudio. And using precompiled headers drops the compile times close to what dmd would do.

There is a D plugin for eclipse called descent with a lot of very nice features: http://www.dsource.org/projects/descent but it's mostly for D1 now when I think about it.
 The goal of the IDE is not to show off what can be done with D, but to
 make it possible.

 Jeremie

Dec 01 2009