January 23, 2005
-------- Original Message --------

> 
> 5) Use the built-in profiler! Just throw the -gt switch, and recompile. Run
> the app as usual, and at the end, look at the output in trace.log.
> 
> 

I don't quite understand what "Tree Time" in the log means.
January 23, 2005
nail wrote:
> Hi all.
> 
> You can treat this topic as a poll. I think this can help begginers to choose
> convenient tools to use D and advanced programmers to try something new and
> compare with already used tools. So, the question is: what tools and
> applications do you use for D programming:
> 1) Platform
> 2) Editor
> 3) Build system
> 4) Debugger
> 5) Profiler
> 6) Others
> 

1) Win 2k
2) Crimson Editor
3) SMAKE ( from DMC++ CD )
4) writefln, my brain
5) none

I really wish AnyEdit had D support, it looks really nice! (http://www.anyedit.org/)




January 23, 2005
> 1) Platform
> 2) Editor
> 3) Build system
> 4) Debugger
> 5) Profiler
> 6) Others

1) WinXP
2) Visual Studio 6 and Visual Studio .NET 2003
3) NMAKE, until I try that neat-o SCons you mentioned (It looks even nicer
than Ant!)
4) None yet
5) None yet
6) DCoder (http://dsource.org/projects/dcoder/) and a custom D Project
AppWizard (Once I get around to making it!)


January 23, 2005
>> 1) Platform
>> 2) Editor
>> 3) Build system
>> 4) Debugger
>> 5) Profiler
>> 6) Others
>
> 1) WinXP
> 2) Visual Studio 6 and Visual Studio .NET 2003
> 3) NMAKE, until I try that neat-o SCons you mentioned (It looks even nicer
> than Ant!)
> 4) None yet
> 5) None yet
> 6) DCoder (http://dsource.org/projects/dcoder/) and a custom D Project
> AppWizard (Once I get around to making it!)

Oh yea, and subversion w/ TortoiseSVN. Can't forget that! (Now that I've started using version control, I'll never go without it again!)


January 23, 2005
Walter wrote:
> "nail" <nail_member@pathlink.com> wrote in message
> news:cstfa2$t0$1@digitaldaemon.com...
> 
>>Hi all.
>>
>>You can treat this topic as a poll. I think this can help begginers to
> 
> choose
> 
>>convenient tools to use D and advanced programmers to try something new
> 
> and
> 
>>compare with already used tools. So, the question is: what tools and
>>applications do you use for D programming:
>>1) Platform
>>2) Editor
>>3) Build system
>>4) Debugger
>>5) Profiler
>>6) Others
> 
> 
> 5) Use the built-in profiler! Just throw the -gt switch, and recompile. Run
> the app as usual, and at the end, look at the output in trace.log.
> 
> 

Ummmm .... -gt doesn't seem to be supported for Linux yet.
January 23, 2005
Rod Haper wrote:

>> 5) Use the built-in profiler! Just throw the -gt switch, and recompile. Run
>> the app as usual, and at the end, look at the output in trace.log.
> 
> Ummmm .... -gt doesn't seem to be supported for Linux yet.

http://www.digitalmars.com/d/dcompiler.html says:

> -gt
>     add trace profiling hooks (not supported under linux)

You can use GDC, and GNU profiler "gprof", instead:
(showing an example for the simple "sieve" program)

> gdc -g -pg -o sieve sieve.d 
> 
> ./sieve
> 
> gprof ./sieve

gprof has the same "problem" with the D name mangling
as gdb has too, that is: __D6dmain29true_mainFiPPaZi

--anders

PS. "gdb" is the GNU debugger, for those who didn't know.
    (gdb ./sieve, and then just issue the "help" command)
January 23, 2005
"zwang" <nehzgnaw@gmail.com> wrote in message news:csv5i6$260o$1@digitaldaemon.com...
> -------- Original Message --------
>
> >
> > 5) Use the built-in profiler! Just throw the -gt switch, and recompile.
Run
> > the app as usual, and at the end, look at the output in trace.log.
> >
> >
>
> I don't quite understand what "Tree Time" in the log means.

Time spent in the function plus all the functions it calls. Function time is the time spent just in that function, not in what it calls.


January 23, 2005
"Rod Haper" <rhaper@houston.rr.com> wrote in message news:csvfu3$2hlp$1@digitaldaemon.com...
> > 5) Use the built-in profiler! Just throw the -gt switch, and recompile.
Run
> > the app as usual, and at the end, look at the output in trace.log.
> Ummmm .... -gt doesn't seem to be supported for Linux yet.

That's true. It shouldn't be hard to, I just haven't done the work yet.


January 23, 2005
> Well, I use the term "Java expert" loosely here to mean anybody with more
> knowledge than I on the subject (which should qualify plenty enough people
> :-) ).  If you are "pretty competent" than you're probably a java guru
> :from my perspective.
> 
> It sounds like you've been busy!  If so, I'm excited to see what you've
> got up your sleeve.  No doubt, your submissions will be well received by
> the D community!
> 
> Good luck,
> 
> John R.

Yeah, I'm hoping my contribution will be a good one. It'll be the first major contribution that I'll have made to..well, anything.

-- 
-PIB

--
"C++ also supports the notion of *friends*: cooperative classes that
are permitted to see each other's private parts." - Grady Booch
January 23, 2005
hi!

> 1) Platform
Linux, Slackware 10

> 2) Editor
Kate. I love it:)

> 3) Build system
none, just simple programs:)

> 4) Debugger
printf and sometimes gdb

> 5) Profiler
none

> 6) Others
Well, I like the fast compiling time, I'm on a old computer and this helps in debugging

Byez!

Carotinho