www.digitalmars.com         C & C++   DMDScript  

D - [Newbie] Coming from MSVC++ and Python. Need IDE, Debugger, GUI-Dev etc.

reply "F. GEIGER" <fgeiger datec.at> writes:
Hi all,

I stumbled over the D language when I read a post in comp.lang.python
mentioning ZEUS (a multilang editor). On their site they linked to D. After
heaving read a few lines about D, I thought, this could be what I'm looking
for: Something in between C++ (static typing lets compiler tell me what's
wrong BEFORE I run the prog) and Python (great flexibility, but dyn. typing
has its drawbacks).

To see if I'm right I'd like to play around with D. So I've downloaded DIDE
0.98 this evening. Am I rigth that there's no debugger? When will one be
available (integrated into the IDE)?
Are their other IDEs around?

Concerning GUI-dev'ment in D I yet have to look around, but I saw already
that their's a lib (was on sourceforge.net, wasn't it). And in the newsgroup
a poster mentioned wxD. As I've a bit of wxWindows/wxPython experience this
would be a good match.

Any other pointers for "painfree" entering the world of D? Anyone here
having been in my shoes weeks/months/years ago and is willing to share his
experience?

Many thanks in advance and kind regards
Franz GEIGER
Oct 01 2003
parent reply Ant <Ant_member pathlink.com> writes:
Concerning GUI-dev'ment in D I yet have to look around, but I saw already
that their's a lib (was on sourceforge.net, wasn't it). And in the newsgroup
a poster mentioned wxD. As I've a bit of wxWindows/wxPython experience this
would be a good match.

I'm actively developing a wrapper for GTK+ check it at: http://ca.geocities.com/duitoolkit I hope that in a couple of weeks I can get the first beta version out. It's almost complete and very usable. It has a linux and a windows version. check the examples and how two other applications I started look like: editor http://ca.geocities.com/duitoolkit/ledsPage.html postgres client http://ca.geocities.com/dpqdb/clipgPage.html DUI examples http://ca.geocities.com/duitoolkit/usagePage.html There also a native GUI for window that you should already have with DIDE called dig (check the D links page) wxD should be nice to have but nobody announce start working on it. Ant
Oct 01 2003
parent reply Mike Hearn <mike theoretic.com> writes:
On Wed, 01 Oct 2003 18:56:47 +0000, Sir Ant scribed thus:
 I'm actively developing a wrapper for GTK+ check it at:
 
 http://ca.geocities.com/duitoolkit

Dude! I downloaded the source, but couldn't find the code generation logic. Are you really doing this all by hand?! The standard way to do bindings for GTK+/GObject code is to write a generic GObject->Language binding program that reads .defs files, so updating to new versions of the API is really easy. If you want more info on that, please let me know. I can also provide proper web space hosting - btw, I'd recommend that you put it in in arch/cvs repository so other people can access the code and submit patches more easily. thanks -mike
Oct 01 2003
parent reply Ant <Ant_member pathlink.com> writes:
In article <pan.2003.10.01.19.26.04.97997 theoretic.com>, Mike Hearn says...
On Wed, 01 Oct 2003 18:56:47 +0000, Sir Ant scribed thus:
 I'm actively developing a wrapper for GTK+ check it at:
 
 http://ca.geocities.com/duitoolkit

Dude! I downloaded the source, but couldn't find the code generation logic.

Isn't there a makefile?
Are you really doing this all by hand?! The standard way to do bindings
for GTK+/GObject code is to write a generic GObject->Language binding
program that reads .defs files, so updating to new versions of the API is
really easy.

Now you tell me... what .defs files?... :P
If you want more info on that, please let me know.

sure, where is that info? (you know the most anoying thing is to look for GTK information and get to PyGTK, and adaGTK and... bahhh)
I can also provide
proper web space hosting - btw, I'd recommend that you put it in in
arch/cvs repository so other people can access the code and submit patches
more easily.

We are all anxiously waiting for a big D repository site promissed by Benji on this group (check other messages) Ant
Oct 01 2003
parent Mike Hearn <mike theoretic.com> writes:
On Wed, 01 Oct 2003 19:39:17 +0000, Sir Ant scribed thus:
 Now you tell me...

Hey, I only discovered D this afternoon, give me a break ;)
 what .defs files?...
 
 :P

Well look at the pygtk source, there is a tool called codegen.py (but it's useful for all language bindings, not just python) which generates .defs files. They look like scheme/lisp and are pretty easy to parse. Example: (define-method connect (of-object "GtkAccelGroup") (c-name "gtk_accel_group_connect") (return-type "none") (parameters '("guint" "accel_key") '("GdkModifierType" "accel_mods") '("GtkAccelFlags" "accel_flags") '("GClosure*" "closure") ) ) If you have pygtk2 installed look in /usr/share/pygtk/2.0/defs for them all...
 sure, where is that info?
 (you know the most anoying thing is to look for GTK information and get
 to PyGTK, and adaGTK and... bahhh)

Well, you can probably learn from these people ;) A lot of the techniques for automatic bindings were developed by the PyGTK team, so you need to install that to get the tools sometimes.
 We are all anxiously waiting for a big D repository site promissed by Benji
 on this group (check other messages)

Ah, coolness! :) thanks -mike
Oct 01 2003