Re: DScanner is ready for use

2013-07-29 Thread qznc
On Saturday, 27 July 2013 at 22:27:35 UTC, Brian Schott wrote: DScanner is a tool for analyzing D source code. It has the following features: * Prints out a complete AST of a source file in XML format. * Syntax checks code and prints warning/error messages * Prints a listing of modules imported

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread JS
On Thursday, 25 July 2013 at 21:27:47 UTC, Walter Bright wrote: On 7/25/2013 11:49 AM, Dmitry S wrote: I am also confused by the numbers. What I see at the end of the article is "21.56 seconds, and the latest development version does it in 12.19", which is really a 43% improvement. (Which is r

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread Leandro Motta Barros
This may be off topic, but here I go anyway... Back in the school days, I joked that the Halting Problem is actually easy to solve with a Turing Machine. Since a Turing Machine is a theoretical device that exists only in our imagination, we can just suppose that it is infinitely fast. So, we simpl

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread monarch_dodra
On Monday, 29 July 2013 at 10:15:31 UTC, JS wrote: Actually, it is a 43% speed improvement. 0.43*21.56 = 9.27s So if it is 43% faster, it means it's reduced the time by 9.27s or, 21.56 - 9.27 = 12.28 seconds total. Now, if we started at 12.28 seconds and it jumped to 21.56 then it would be

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread JS
On Monday, 29 July 2013 at 11:46:05 UTC, Leandro Motta Barros wrote: This may be off topic, but here I go anyway... Back in the school days, I joked that the Halting Problem is actually easy to solve with a Turing Machine. Since a Turing Machine is a theoretical device that exists only in our

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread John Colvin
On Monday, 29 July 2013 at 10:15:31 UTC, JS wrote: On Thursday, 25 July 2013 at 21:27:47 UTC, Walter Bright wrote: On 7/25/2013 11:49 AM, Dmitry S wrote: I am also confused by the numbers. What I see at the end of the article is "21.56 seconds, and the latest development version does it in 12.

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread John Colvin
On Monday, 29 July 2013 at 12:17:22 UTC, JS wrote: Even something like for(;;) { if (random() == 3) break; } is decidable(it will halt after some time). That program has a finite average runtime, but its maximum runtime is unbounded. You can't actually say it *will* halt. For any given i

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread John Colvin
On Monday, 29 July 2013 at 12:35:59 UTC, John Colvin wrote: On Monday, 29 July 2013 at 12:17:22 UTC, JS wrote: Even something like for(;;) { if (random() == 3) break; } is decidable(it will halt after some time). That program has a finite average runtime, but its maximum runtime is unboun

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread JS
On Monday, 29 July 2013 at 12:36:36 UTC, John Colvin wrote: On Monday, 29 July 2013 at 12:35:59 UTC, John Colvin wrote: On Monday, 29 July 2013 at 12:17:22 UTC, JS wrote: Even something like for(;;) { if (random() == 3) break; } is decidable(it will halt after some time). That program has

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread John Colvin
On Monday, 29 July 2013 at 13:05:10 UTC, JS wrote: On Monday, 29 July 2013 at 12:36:36 UTC, John Colvin wrote: On Monday, 29 July 2013 at 12:35:59 UTC, John Colvin wrote: On Monday, 29 July 2013 at 12:17:22 UTC, JS wrote: Even something like for(;;) { if (random() == 3) break; } is decidable

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread JS
On Monday, 29 July 2013 at 14:39:02 UTC, John Colvin wrote: On Monday, 29 July 2013 at 13:05:10 UTC, JS wrote: On Monday, 29 July 2013 at 12:36:36 UTC, John Colvin wrote: On Monday, 29 July 2013 at 12:35:59 UTC, John Colvin wrote: On Monday, 29 July 2013 at 12:17:22 UTC, JS wrote: Even someth

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread Walter Bright
On 7/29/2013 5:28 AM, John Colvin wrote: Seriously... Walter wouldn't have got his mechanical engineering degree if he didn't know how to calculate a speed properly. It's a grade school concept :-) A college freshman physics problem would be calculating the delta V of a rocket fired in space

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread Walter Bright
On 7/29/2013 4:45 AM, Leandro Motta Barros wrote: Well, I kinda have the same feeling when using it. For my ~10kloc project, I still haven't felt a real need to use a real build system. I just dmd *.d. If any measurable time passes without any error message appearing in the console, I know that m

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread JS
On Monday, 29 July 2013 at 12:28:16 UTC, John Colvin wrote: On Monday, 29 July 2013 at 10:15:31 UTC, JS wrote: On Thursday, 25 July 2013 at 21:27:47 UTC, Walter Bright wrote: On 7/25/2013 11:49 AM, Dmitry S wrote: I am also confused by the numbers. What I see at the end of the article is "21.5

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread John Colvin
On Monday, 29 July 2013 at 18:34:16 UTC, Walter Bright wrote: On 7/29/2013 5:28 AM, John Colvin wrote: Seriously... Walter wouldn't have got his mechanical engineering degree if he didn't know how to calculate a speed properly. It's a grade school concept :-) A college freshman physics probl

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread Walter Bright
On 7/29/2013 12:08 PM, JS wrote: Trying to use distance and speed as a measure of performance of a program is just ridiculous. If you google "program execution speed" you'll find it's a commonly used term. "Lines per second" is a common measure of compiler execution speed - google "compiler l

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread John Colvin
On Monday, 29 July 2013 at 19:08:28 UTC, JS wrote: On Monday, 29 July 2013 at 12:28:16 UTC, John Colvin wrote: On Monday, 29 July 2013 at 10:15:31 UTC, JS wrote: On Thursday, 25 July 2013 at 21:27:47 UTC, Walter Bright wrote: On 7/25/2013 11:49 AM, Dmitry S wrote: I am also confused by the num

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread Ali Çehreli
On 07/29/2013 12:08 PM, JS wrote: > It seems some people have to go back to kindergarten and study percentages! Do you seriously think people who follow this forum need to relearn what a percentage is? :) > (again, if we started with 12 second and went to 21 seconds, it would be > a near 75

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread JS
On Monday, 29 July 2013 at 19:38:51 UTC, Walter Bright wrote: On 7/29/2013 12:08 PM, JS wrote: Trying to use distance and speed as a measure of performance of a program is just ridiculous. If you google "program execution speed" you'll find it's a commonly used term. "Lines per second" is a

Re: Article: Increasing the D Compiler Speed by Over 75%

2013-07-29 Thread monarch_dodra
On Monday, 29 July 2013 at 20:19:34 UTC, John Colvin wrote: On Monday, 29 July 2013 at 19:08:28 UTC, JS wrote: Please study up on basic math before building any bridges. I know computers have made everyone dumb And again: Honestly, I don't know why you are still trying... At this point,

GoingNative 2013

2013-07-29 Thread Walter Bright
http://channel9.msdn.com/Events/GoingNative/2013 The last one was a lot of fun, so I signed up for this one, too. Note that Andrei is a speaker! Recommended. See y'all there! (P.S. It's entirely possible that I may get my mythical '72 Dodge running in time for this, and I can drive it to the

Re: GoingNative 2013

2013-07-29 Thread Brad Anderson
On Monday, 29 July 2013 at 22:12:40 UTC, Walter Bright wrote: http://channel9.msdn.com/Events/GoingNative/2013 The last one was a lot of fun, so I signed up for this one, too. Note that Andrei is a speaker! Recommended. See y'all there! (P.S. It's entirely possible that I may get my mythical

Re: GoingNative 2013

2013-07-29 Thread Walter Bright
On 7/29/2013 5:53 PM, Brad Anderson wrote: They said they may not live stream it this year like they did last year. That's a shame because it was a lot of fun heckling Andrei in #d :P. Live streaming is fun because some of the best questions come from twitter.

Re: GoingNative 2013

2013-07-29 Thread Manu
On 30 July 2013 08:12, Walter Bright wrote: > http://channel9.msdn.com/**Events/GoingNative/2013 > > The last one was a lot of fun, so I signed up for this one, too. Note that > Andrei is a speaker! Recommended. See y'all there! > > (P.S. It's ent

Re: GoingNative 2013

2013-07-29 Thread Walter Bright
On 7/29/2013 7:25 PM, Manu wrote: On 30 July 2013 08:12, Walter Bright mailto:newshou...@digitalmars.com>> wrote: http://channel9.msdn.com/__Events/GoingNative/2013 The last one was a lot of fun, so I signed up for this one, too. No