Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-26 Thread Rory McGuire
On Tue, Mar 26, 2013 at 4:43 AM, Walter Bright newshou...@digitalmars.comwrote: How to do profiling with the dmd D compiler: 1. Add the -profile switch to the command line. 2. Read the report generated. To do coverage analysis: 1. Add the -cov switch to the command line. 2. Read the

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-26 Thread Dmitry Olshansky
26-Mar-2013 13:38, Rory McGuire пишет: On Tue, Mar 26, 2013 at 4:43 AM, Walter Bright newshou...@digitalmars.com mailto:newshou...@digitalmars.com wrote: How to do profiling with the dmd D compiler: 1. Add the -profile switch to the command line. 2. Read the report generated.

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-26 Thread Walter Bright
On 3/26/2013 2:38 AM, Rory McGuire wrote: Thanks I remember about the -profile switch but I don't see memory usage there. -profile and -cov do not track memory usage. If you see your program using more and more memory even though it should not be how do you check where the problem is? I've

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-26 Thread Walter Bright
On 3/26/2013 3:04 AM, Walter Bright wrote: On 3/26/2013 2:38 AM, Rory McGuire wrote: Thanks I remember about the -profile switch but I don't see memory usage there. -profile and -cov do not track memory usage. If you see your program using more and more memory even though it should not be

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-26 Thread Jacob Carlborg
On 2013-03-26 10:49, Dmitry Olshansky wrote: What everybody in all other native languages use, for instance: valgrind --tool=massif, valgrind --tool=callgrind Any general purpose profiler works. I can confirm that e.g. AMD CodeAnalyst works just fine if application is compiled with symbols.

Re: Go vs. D [was Re: Rust vs Dlang]

2013-03-26 Thread Paulo Pinto
On Tuesday, 26 March 2013 at 10:08:30 UTC, Walter Bright wrote: On 3/26/2013 3:04 AM, Walter Bright wrote: On 3/26/2013 2:38 AM, Rory McGuire wrote: Thanks I remember about the -profile switch but I don't see memory usage there. -profile and -cov do not track memory usage. If you see your

Re: Guigle: Is there help?

2013-03-26 Thread Jonas Drewsen
So it runs on openGL, but I guess it uses some base libraries for things like window and event handling and text rendering. Can you tell a bit more about what the dependencies are? You might want to consider using the boost license like the phobos standard library does. Up to you of course.

SDLang-D v0.8.3 - Improved API/Docs

2013-03-26 Thread Nick Sabalausky
SDLang-D is D library to read/write SDL (Simple Declarative Language), a data language like JSON/XML/YAML, but easier and cleaner. The main focuses of this version are a revamped API and improved/expanded GitHub-flavored documentation. // Sample, but useful, SDL: latest-version v0.8.3