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

2013-07-30 Thread Walter Bright
On 7/30/2013 11:02 AM, Dmitry Olshansky wrote: 26-Jul-2013 23:17, Walter Bright пишет: How about a pull request so we can try it out? Preliminary pull is here: https://github.com/D-Programming-Language/dmd/pull/2436 So far it looses a bit. :-) That's often been my experience. I'm still

Re: Increasing D Compiler Speed by Over 75%

2013-07-30 Thread Walter Bright
On 7/30/2013 11:16 AM, Brad Anderson wrote: Sidenote: Insulting Walter's work isn't a great way to get him to do your a favor. I'm sad that I never got the opportunity to be insulted by Jobs.

Re: GoingNative 2013

2013-07-30 Thread Walter Bright
On 7/30/2013 1:14 PM, Adam Wilson wrote: Since I've never been before, I would like to know if there is a place that I can setup a laptop in the lecture hall. I *really* want to go to this, but I have product launch two weeks prior at VSLive (also at MSFT) and it may need emergency support.

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

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 lines

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 newshou...@digitalmars.com mailto:newshou...@digitalmars.com wrote: http://channel9.msdn.com/__Events/GoingNative/2013 http://channel9.msdn.com/Events/GoingNative/2013 The last one was a lot of fun, so I signed

Getting Started with the D Programming Language

2013-07-27 Thread Walter Bright
http://www.gamedev.net/page/resources/_/technical/general-programming/getting-started-with-the-d-programming-language-r3306 By Mike Aldacron Parker

Re: Increasing D Compiler Speed by Over 75%

2013-07-26 Thread Walter Bright
On 7/26/2013 1:25 AM, dennis luehring wrote: do you compare dmc based and visualc based dmd builds? the vc dmd build seems to be always two times faster - how does that look with your optimization? It would be most interesting to see just what it was that made the vc build faster. But that

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

2013-07-26 Thread Walter Bright
On 7/26/2013 5:11 AM, Dmitry Olshansky wrote: 26-Jul-2013 14:47, Dmitry Olshansky пишет: 26-Jul-2013 01:25, Walter Bright пишет: The slowness was in the frackin' convert the hash to an index in the bucket, which is a modulus operation. Then it's past due to finally stop the madness

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

2013-07-25 Thread Walter Bright
On 7/25/2013 11:21 AM, bearophile wrote: Andrei Alexandrescu: http://www.reddit.com/r/programming/comments/1j1i30/increasing_the_d_compiler_speed_by_over_75/ Where is the 75% value coming from? Not sure what you mean. Numbers at the end of the article. Regarding the hashing, maybe a

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

2013-07-25 Thread Walter Bright
On 7/25/2013 11:30 AM, Adam D. Ruppe wrote: The biggest compile time killer in my experience is actually running out of memory and hitting the swap. My work app used to compile in about 8 seconds (on Linux btw). Then we added more and more stuff and it went up to about 20 seconds. It uses a

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

2013-07-25 Thread Walter Bright
On 7/25/2013 12:26 PM, qznc wrote: if you know the lifetime of the objects. Aye, there's the rub! And woe to you if you get that wrong.

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

2013-07-25 Thread Walter Bright
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 really great too.) 21.56/12.19 is 1.77, i.e. a 75% improvement in

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

2013-07-25 Thread Walter Bright
On 7/25/2013 3:54 PM, Vladimir Panteleev wrote: Like string interning? Exactly.

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

2013-07-25 Thread Walter Bright
On 7/25/2013 4:15 PM, Leandro Lucarella wrote: Walter Bright, el 25 de July a las 14:27 me escribiste: 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

Re: Emacs D Mode version 2.0.6 released

2013-07-23 Thread Walter Bright
On 7/22/2013 3:39 AM, Russel Winder wrote: The title says it all really. Need linky!

Re: monarch dodra granted write access to phobos, druntime, and tools

2013-07-22 Thread Walter Bright
On 7/22/2013 11:07 AM, Andrei Alexandrescu wrote: Please join me in congratulating monarch dodra for his admission among our github committers. We're starting with phobos, druntime, and tools access, and if all goes well, we'll extend write rights to dmd also. Congrats!

Re: I've started blog a little more about D.

2013-07-21 Thread Walter Bright
On 7/21/2013 8:43 AM, Gary Willoughby wrote: Please don't let this degenerate into a grammar nazi poasting session, please focus on the article content instead. Well, if you do want to be a rebel on capitalization, you have to accept that your audience may get distracted from your message and

Re: I've started blog a little more about D.

2013-07-21 Thread Walter Bright
On 7/20/2013 2:19 PM, Gary Willoughby wrote: I'm starting to blog a little more and in particular i've started writing more about D. I'm using it a great deal at work now and all new stuff is to be written in it. I'm loving every minute of this and really want to sing its praises. I'll not lie

Re: I've started blog a little more about D.

2013-07-21 Thread Walter Bright
On 7/21/2013 2:17 PM, Gary Willoughby wrote: Thanks, updated. Welcs. With my own writing, I'll often write it all out, then grep for you and fix them all :-)

Re: I've started blog a little more about D.

2013-07-21 Thread Walter Bright
On 7/21/2013 2:21 PM, Jonathan M Davis wrote: Or worse, just think that you have a lower intelligence level than you actually have. I read code, articles, books, etc., all day. There's a million times more content than I could hope to read. So I (and everyone else) needs some sort of

Re: I've started blog a little more about D.

2013-07-21 Thread Walter Bright
On 7/21/2013 3:24 PM, Adam D. Ruppe wrote: This is why I prefer to use 'thou' when writing documentation. :-P I use thou when I'm issuing commandments to my subjects.

Re: I've started blog a little more about D.

2013-07-21 Thread Walter Bright
On 7/20/2013 2:19 PM, Gary Willoughby wrote: Be gentle: http://nomad.so/2013/07/templates-in-d-explained/ http://www.reddit.com/r/programming/comments/1irdjn/how_to_use_templates_in_d/

Re: Complex networks in D

2013-07-16 Thread Walter Bright
On 7/15/2013 2:32 PM, Joseph Rushton Wakeling wrote: Following the discussion on digitalmars.D, I've put together a little (... er, long ...) blog post discussing the basics of my D graph library: http://braingam.es/2013/07/complex-networks-in-d/ The main slant of this post is the ease of

Re: Complex networks in D

2013-07-16 Thread Walter Bright
On 7/16/2013 2:27 AM, Joseph Rushton Wakeling wrote: On Tuesday, 16 July 2013 at 08:27:07 UTC, Paulo Pinto wrote: On Tuesday, 16 July 2013 at 07:17:59 UTC, Walter Bright wrote: https://news.ycombinator.com/item?id=6050404 http://www.reddit.com/r/programming/comments/1iegj9

Re: Article series about patterns idioms in D

2013-07-12 Thread Walter Bright
I think it's a nice blog and encourage you to do more! On 7/12/2013 12:34 AM, Andrei Alexandrescu wrote: 1) D implict conversion idiom: http://3d.benjamin-thaut.de/?p=90 Well you have a typo in the first title... The same misspelling occurs repeatedly in the article, so it's not a typo.

Re: Article series about patterns idioms in D

2013-07-12 Thread Walter Bright
On 7/12/2013 12:22 PM, Benjamin Thaut wrote: Am 12.07.2013 21:00, schrieb Walter Bright: On 7/12/2013 2:42 AM, Benjamin Thaut wrote: D strives to prevent implicit conversion between user defined types at all costs. Ok - but I think it would be clearer if the statement added for user defined

Re: My first email to Walter, ever

2013-07-07 Thread Walter Bright
On 7/7/2013 5:09 AM, Andrej Mitrovic wrote: On 7/7/13, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: While doing some unrelated research I stumbled upon my very first email to Walter, dated April 26, 2004. That's a cool teaser, but how did the discussion continue? :) Generally

Re: Is this D or is it Javascript?

2013-07-05 Thread Walter Bright
On 7/5/2013 5:27 PM, Adam D. Ruppe wrote: On Friday, 5 July 2013 at 23:35:54 UTC, Andrei Alexandrescu wrote: I think you really should put the code in shape and convert your initial post into a blog entry. You know, I have a lot of things I want to blab about, but the problem is I don't have

Re: DConf 2013 Closing Keynote: Quo Vadis by Andrei Alexandrescu

2013-07-01 Thread Walter Bright
On 7/1/2013 2:04 PM, Brad Roberts wrote: On 7/1/13 11:42 AM, Walter Bright wrote: On 7/1/2013 10:45 AM, Joakim wrote: Then they should choose a mixed license like the Mozilla Public License or CDDL, which keeps OSS files open while allowing linking with closed source files within the same

Re: DConf 2013 Closing Keynote: Quo Vadis by Andrei Alexandrescu

2013-06-30 Thread Walter Bright
On 6/29/2013 11:39 PM, Joakim wrote: What do you think of my idea of segmenting the market though? Keep providing a free-as-in-beer dmd, like you are now, for the people who want it, while Remedy and others who want performance pay for a dmd that puts out more performant code, with those

Re: DConf 2013 Closing Keynote: Quo Vadis by Andrei Alexandrescu

2013-06-30 Thread Walter Bright
On 6/30/2013 2:50 AM, Joakim wrote: I wondered if you have any opinion on such code reuse, if someone takes your code and closes it, even if you wouldn't try to block it because you have already released it under a permissive license. No, I don't have an opinion on it, other than that I'd

Re: Programming in D book is about 88% translated

2013-06-29 Thread Walter Bright
On 6/28/2013 7:35 PM, Ali Çehreli wrote: Thinking that it is free enough, I had chosen this: http://creativecommons.org/licenses/by-nc-sa/3.0/us/ Just let me know if it is limiting in any way. This is just awesome! Thank you, Ali!

Re: dlibgit updated to libgit2 v0.19.0

2013-06-29 Thread Walter Bright
On 6/28/2013 9:10 AM, Dicebot wrote: On Friday, 28 June 2013 at 16:00:57 UTC, Andrej Mitrovic wrote: Deimos is an overhead which provides no benefits. It was supposed to be used to make discovery easy, but discovery can be done through a wiki, or dlang.org, or an automated process (dub).

Re: DConf 2013 Closing Keynote: Quo Vadis by Andrei Alexandrescu

2013-06-29 Thread Walter Bright
I agree with your post, I just want to make a couple of minor corrections. On 6/27/2013 4:58 AM, Leandro Lucarella wrote: Do you really think C++ took off because there are commercial implementations? I got into the C++ fray in the 1987-88 time frame. At the time, there was a great debate

Re: DConf 2013 Closing Keynote: Quo Vadis by Andrei Alexandrescu

2013-06-29 Thread Walter Bright
On 6/29/2013 5:08 AM, Joseph Rushton Wakeling wrote: On Saturday, 29 June 2013 at 08:37:48 UTC, Walter Bright wrote: The bottom line was the open source movement was not a very significant force in the 1980's when C++ gained traction. Open source really exploded around 2000, along

Re: DConf 2013 Closing Keynote: Quo Vadis by Andrei Alexandrescu

2013-06-29 Thread Walter Bright
On 6/29/2013 7:56 PM, CJS wrote: Wow. That's interesting reading. Thanks for the history lesson! There are other versions of this history, none of which mention the role ZTC++ played in C++ attaining critical mass, so I like to repeat my version now and then :-)

Re: Scott Meyers coming to Seattle to do presentation July 17

2013-06-25 Thread Walter Bright
On 6/21/2013 1:26 PM, Walter Bright wrote: Watch http://nwcpp.org for more info later this week. The info on Scott's presentation is now posted.

Re: D/Objective-C, extern (Objective-C)

2013-06-25 Thread Walter Bright
On 6/24/2013 1:18 PM, Michel Fortin wrote: And I don't think it is very common in D either. Either way, if D was to implement ARC for its own memory allocator instead of the current GC (which would be great) there's noting to prevent implementing it so that reference counts could be incremented

Re: An idea - make dlang.org a fundation

2013-06-25 Thread Walter Bright
On 6/25/2013 1:09 PM, Jacob Carlborg wrote: On 2013-06-25 06:34, QAston wrote: ---Get a real webdesigner involved I would say, as long as the web site is written in ddoc, no real web designer will be interested. The dconf.org website was done by a real web designer who was paid real money,

Re: D/Objective-C, extern (Objective-C)

2013-06-25 Thread Walter Bright
On 6/25/2013 1:08 PM, Jacob Carlborg wrote: On 2013-06-25 20:06, Walter Bright wrote: 3. migrating non-ARC code to ARC is error-prone and a major nuisance Xcode provides refactoring tools to migrate manual reference counting and GC code to ARC. Those don't work with D. Let's do it right

Re: An idea - make dlang.org a fundation

2013-06-25 Thread Walter Bright
On 6/25/2013 1:19 PM, Andrei Alexandrescu wrote: On 6/25/13 1:16 PM, Walter Bright wrote: On 6/25/2013 1:09 PM, Jacob Carlborg wrote: On 2013-06-25 06:34, QAston wrote: ---Get a real webdesigner involved I would say, as long as the web site is written in ddoc, no real web designer

Re: D/Objective-C, extern (Objective-C)

2013-06-24 Thread Walter Bright
On 6/24/2013 3:04 AM, Jacob Carlborg wrote: On 2013-06-23 23:12, Walter Bright wrote: Thank you for reviving this. Please carry on! Is there a chance we can get this into main line? Yes, but since I don't know much about O-C programming, the feature should be labeled experimental until

Re: D/Objective-C, extern (Objective-C)

2013-06-24 Thread Walter Bright
On 6/24/2013 6:27 AM, Michel Fortin wrote: Finally, there is a couple of features that were added to Objective-C since then that should be added to the todo list to keep feature parity. Some of those, if implemented right, could benefit the rest of D too. For instance: ARC (automatic reference

Re: D/Objective-C, extern (Objective-C)

2013-06-24 Thread Walter Bright
On 6/24/2013 11:03 AM, Steven Schveighoffer wrote: All data members in Objective-C are private. So the object can control when it gives out this data, and take appropriate actions. AFAIK, ARC does not worry about internal pointers. Hmm, that's a good thought. (But recall that modules allow

Re: D/Objective-C, extern (Objective-C)

2013-06-24 Thread Walter Bright
On 6/24/2013 1:18 PM, Michel Fortin wrote: That's not a so big problem: just disallow taking pointers to member variables inside of reference-counted memory blocks. At least in SafeD. This is a quite rare thing to do in Objective-C anyway, I'd be surprised if it bothered anyone. And I don't

Re: D/Objective-C, extern (Objective-C)

2013-06-24 Thread Walter Bright
On 6/24/2013 1:37 PM, Jacob Carlborg wrote: On 2013-06-24 19:36, Walter Bright wrote: Yes, but since I don't know much about O-C programming, the feature should be labeled experimental until we're sure it's the right design. Absolutely. But there's not that much to design. It's the same

Re: D/Objective-C, extern (Objective-C)

2013-06-24 Thread Walter Bright
On 6/24/2013 1:45 PM, Steven Schveighoffer wrote: On Mon, 24 Jun 2013 16:36:50 -0400, Suliman everm...@live.ru wrote: Could anybody explain the practical side of this project? Where it can be helpful? First, you should quote the bit of the post that you are responding to. Since you

Re: LDC in LLVM Release Notes

2013-06-23 Thread Walter Bright
On 6/19/2013 11:02 PM, Kai Nacke wrote: On Wednesday, 19 June 2013 at 20:40:39 UTC, qznc wrote: LDC is explicitly mentioned in the LLVM 3.3 Release Notes [0]. In contrast to other frontends, LDC seems to follow upstream much more closely (or maybe is forced to due to bugs?). Anyhow, kudos to

Re: [Phoronix] D Language Still Showing Promise, Advancements

2013-06-21 Thread Walter Bright
On 6/21/2013 8:41 AM, Paulo Pinto wrote: My first MS-DOS version was 3.3 :) 1.1 here!

Scott Meyers coming to Seattle to do presentation July 17

2013-06-21 Thread Walter Bright
The abstract isn't available yet, but who cares. I presume it will be about C++. Scott's shows are not to be missed. It'll be July 17th at 7:00 PM at Microsoft in building 40/Steptoe. I'm told pizza will be provided. Lloyd Moore, the organizer, wants a hint of how many will come, so +1 on

DMD 2.063.2 now up

2013-06-18 Thread Walter Bright
and fixes several reported regressions. download.dlang.org

Re: DMD 2.063.2 now up

2013-06-18 Thread Walter Bright
On 6/18/2013 9:33 AM, Andrei Alexandrescu wrote: On 6/18/13 4:41 AM, Walter Bright wrote: and fixes several reported regressions. download.dlang.org That's http://downloads.dlang.org. I'd piped a protest that we should use the singular in the subdomain (as we use in all other URLs

Re: DMD 2.063.2 now up

2013-06-18 Thread Walter Bright
On 6/18/2013 6:52 AM, Gary Willoughby wrote: On Tuesday, 18 June 2013 at 08:41:43 UTC, Walter Bright wrote: and fixes several reported regressions. download.dlang.org Thanks, but Mac OS has a broken download link. It's here: http://dlang.org/dmd.2.063.2.dmg

Re: DConf 2013 Day 3 Talk 4: LDC by David Nadlinger

2013-06-17 Thread Walter Bright
On 6/17/2013 8:35 AM, Steven Schveighoffer wrote: I'm sure if there are any glitches that omit an important piece of the talk, point them out and the speaker and/or conference attendees can help discern what was being said. I was saying flip that!.

Re: SPY

2013-06-14 Thread Walter Bright
On 6/13/2013 7:14 PM, Adam D. Ruppe wrote: The utility though is mathematically equivalent to the house cutting you a check each year for the difference of property taxes, insurance, and repairs and rent though. Which is virtually guaranteed to be a positive number because the landlord has to

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-14 Thread Walter Bright
On 6/13/2013 11:40 PM, Jacob Carlborg wrote: On 2013-06-13 22:42, Walter Bright wrote: May I present MicroEmacs: https://github.com/DigitalMars/med Only Linux and Windows support? Others are trivially added if anyone cares.

Re: DConf 2013 Day 3 Talk 3: D-Specific Design Patterns by David Simcha

2013-06-14 Thread Walter Bright
On 6/14/2013 5:36 PM, Andrei Alexandrescu wrote: It's a delay on my end. I am currently traveling to NDC 2013 (where I gave a talk on D, see http://ndcoslo.oktaset.com/Agenda/friday) and I need a stable connection to upload the file. Stay tuned. Looks like a great talk you've got planned!

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-13 Thread Walter Bright
On 6/13/2013 2:19 AM, Peter Alexander wrote: On Thursday, 13 June 2013 at 09:06:00 UTC, Don wrote: Mono-D and Eclipse DDT both have major problems with long pauses while typing (eg 15 seconds unresponsive) and crashes. Both of them even have modules of death where just viewing the file will

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-13 Thread Walter Bright
On 6/13/2013 6:58 AM, Steven Schveighoffer wrote: Home ownership is much simpler than playing with stocks, I have to strongly disagree about that. Buying/selling a stock is a mouse click. Tax accounting is a one liner. Buying/selling a house is a major amount of work. Heck, even once you

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-13 Thread Walter Bright
On 6/13/2013 11:00 AM, Peter Alexander wrote: From a cold boot, the terminal I use, iTerm, can take upwards of 10 seconds to start up before I can start entering commands. The perennial problem with JITs.

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-13 Thread Walter Bright
On 6/13/2013 2:22 AM, Peter Alexander wrote: The syntax highlighting has actually bogged down vim for me in the past. I had a file with a large array in it (hundreds of lines), and scrolling over those lines caused vim to stutter at about 1fps. Back in the Bad Old DOS days, I had trouble with

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-13 Thread Walter Bright
On 6/13/2013 3:48 AM, Regan Heath wrote: What are the basic features you would require of a development environment, People tell me that intellisense is the #1 feature.

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-13 Thread Walter Bright
On 6/13/2013 11:25 AM, Steven Schveighoffer wrote: I meant much simpler to predict/easier to come out ahead. Sheesh, so much literalism here :) I'm going to disagree with that one, too! Consider an SP 500 index stock, like SPY. It's: 1. trivial to buy and sell - a couple clicks 2. liquid -

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-13 Thread Walter Bright
On 6/13/2013 1:12 PM, Don wrote: Must not be worse than Notepad. g May I present MicroEmacs: https://github.com/DigitalMars/med

SPY

2013-06-13 Thread Walter Bright
On 6/13/2013 12:56 PM, Steven Schveighoffer wrote: On Thu, 13 Jun 2013 15:10:06 -0400, Walter Bright newshou...@digitalmars.com wrote: On 6/13/2013 11:25 AM, Steven Schveighoffer wrote: I meant much simpler to predict/easier to come out ahead. Sheesh, so much literalism here :) I'm going

Re: SPY

2013-06-13 Thread Walter Bright
On 6/13/2013 1:53 PM, Bill Baxter wrote: Why do those things pay dividends? SP 500 companies pay dividends, and since you own a piece of them via SPY, you get paid those dividends.

Re: SPY

2013-06-13 Thread Walter Bright
On 6/13/2013 1:56 PM, Steven Schveighoffer wrote: I will when you can show me a stock you can live in :P Again, we were talking about the financial pros and cons of buying a house vs renting. The utility issue is therefore moot.

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-12 Thread Walter Bright
On 6/12/2013 1:04 AM, Don wrote: On Tuesday, 11 June 2013 at 20:02:29 UTC, Walter Bright wrote: Note that none of the advertisements, brochures, etc., mention expected life of the PVs. That's not correct. Almost all manufacturers provide a 20 or 30 year warranty. Warranty periods have been

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-12 Thread Walter Bright
On 6/12/2013 5:58 AM, Andrei Alexandrescu wrote: On 6/11/13 11:40 PM, Walter Bright wrote: I just want to point out that owning a home is far from the sure path to wealth it is too often presented as. As always, caveat emptor. I'd say it's historically about as risky as owning stocks

Re: DConf 2013 Day 3 Talk 2: Code Analysis for D with AnalyzeD by Stefan Rohe

2013-06-12 Thread Walter Bright
On 6/12/2013 1:29 PM, Adam D. Ruppe wrote: Looking at dmd's source, looks like Walter actually wrote code to parse a throws Exception, etc. to be part of the function signature but stripped it out (surely because that's annoying). That detritus should be removed. It was a bad idea, which is

Re: DConf 2013 Day 3 Talk 2: Code Analysis for D with AnalyzeD by Stefan Rohe

2013-06-12 Thread Walter Bright
On 6/12/2013 2:49 PM, bearophile wrote: What are the disadvantages of checked exceptions? See the link to Bruce Eckel's article I posted in this thread.

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-11 Thread Walter Bright
On 6/11/2013 8:28 AM, Adam D. Ruppe wrote: It is great stuff, solar power is almost free money if you can wait 20 years for it. Yeah, but you'll have to replace it before 20 years!

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-11 Thread Walter Bright
On 6/11/2013 12:21 PM, John Colvin wrote: On Tuesday, 11 June 2013 at 18:47:35 UTC, Walter Bright wrote: On 6/11/2013 8:28 AM, Adam D. Ruppe wrote: It is great stuff, solar power is almost free money if you can wait 20 years for it. Yeah, but you'll have to replace it before 20 years

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-11 Thread Walter Bright
On 6/11/2013 1:11 PM, Andrej Mitrovic wrote: On 6/11/13, Walter Bright newshou...@digitalmars.com wrote: Circuit boards, inverters, etc., also fail, and you'd need some assurance you can get replacement parts for 20 years. I bet most companies don't even get to live 20 years. And usually

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-11 Thread Walter Bright
On 6/11/2013 1:18 PM, Adam D. Ruppe wrote: On Tuesday, 11 June 2013 at 19:38:13 UTC, Steven Schveighoffer wrote: I have to laugh at this. Solar is *almost* free money *if* you can wait 20 years A 20 year payback time is no big deal to me, the house won't pay for itself compared to renting

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-11 Thread Walter Bright
On 6/11/2013 1:47 PM, Andrej Mitrovic wrote: On Tuesday, 11 June 2013 at 20:47:04 UTC, Walter Bright wrote: Actually, parts for old cars are a lot cheaper than for new ones! But I think that's an anomaly. I guess it totally depends on where you live. :) In the US. For example, my daily

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-11 Thread Walter Bright
On 6/11/2013 2:19 PM, Steven Schveighoffer wrote: Define financially better off :) You have mo' moolah. Is their any other definition? And this is not even a fair conversation, because there are so many variables to consider. I'd like to pop that default conception that buying is

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-11 Thread Walter Bright
On 6/11/2013 2:20 PM, Adam D. Ruppe wrote: On Tuesday, 11 June 2013 at 20:51:58 UTC, Walter Bright wrote: Owning a home has lots of nice advantages, but saving money isn't reliably one of them. I agreed with you until last year, but the very low mortgage interest rates and fitting

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-11 Thread Walter Bright
On 6/11/2013 2:55 PM, Adam D. Ruppe wrote: ...and if you sell it, unless you own multiple houses, you're now homeless. And housing prices are up, so getting a new house will erase the gains you got from selling the old house! Yeah, I love that one. But I do feel the house is worth it

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-11 Thread Walter Bright
On 6/11/2013 6:54 PM, Steven Schveighoffer wrote: On Tue, 11 Jun 2013 17:29:45 -0400, Walter Bright newshou...@digitalmars.com wrote: On 6/11/2013 2:19 PM, Steven Schveighoffer wrote: Define financially better off :) You have mo' moolah. Is their any other definition? Cash is not always

Re: DConf 2013 Day 3 Talk 1: Metaprogramming in the Real World by Don Clugston

2013-06-11 Thread Walter Bright
On 6/11/2013 6:54 PM, Steven Schveighoffer wrote: My profit on my first condo, which I bought in '99 and sold in '05 was 150% of the *purchase price*. Minus the 6% commission :) Although, it was only 3% because a family friend who is a real estate agent did not charge me her half. And I only

Re: Don's talk's video to be online soon

2013-06-10 Thread Walter Bright
On 6/10/2013 4:19 PM, Anthony Goins wrote: Will there be video for Andrew Edwards? Andrew declined to have it videotaped, so no.

Re: DConf 2013 Day 2 Talk 6: Higgs, an experimental JIT compiler written in D by Maxime Chevalier-Boisvert

2013-06-08 Thread Walter Bright
On 6/8/2013 2:23 PM, bearophile wrote: - D integer types have guaranteed sizes, but they're not obvious from the name - Why not have int8, uint8, int32, uint32, etc. in default namespace, encourage their use? I agree. It's hard to guess the size and signedness of types as byte, ubyte,

Re: DConf 2013 Day 2 Talk 6: Higgs, an experimental JIT compiler written in D by Maxime Chevalier-Boisvert

2013-06-08 Thread Walter Bright
On 6/8/2013 4:08 PM, bearophile wrote: It took me two or three years to to remember what's the length of dchar and wchar. I don't believe that! New D programmer should not be need to learn such arbitrary naming scheme, inherited from C++ :-) It's also seen in other obscure languages like

Re: dmd 2.063 beta 5

2013-05-26 Thread Walter Bright
On 5/26/2013 9:31 AM, deadalnix wrote: On Saturday, 25 May 2013 at 21:07:26 UTC, Walter Bright wrote: Pull request to do this: https://github.com/D-Programming-Language/dmd/pull/2076 So finally, what is the sate of things ? Beta 7! http://ftp.digitalmars.com/dmd2beta.zip Remaining

Re: dmd 2.063 beta 5

2013-05-26 Thread Walter Bright
On 5/26/2013 8:05 PM, deadalnix wrote: On Sunday, 26 May 2013 at 18:52:11 UTC, Walter Bright wrote: On 5/26/2013 9:31 AM, deadalnix wrote: On Saturday, 25 May 2013 at 21:07:26 UTC, Walter Bright wrote: Pull request to do this: https://github.com/D-Programming-Language/dmd/pull/2076 So

Re: Talha Zekeriya Durmuş's D project takes first place in TÜBİTAK competition

2013-05-24 Thread Walter Bright
On 5/24/2013 10:32 AM, Ali Çehreli wrote: TÜBİTAK (The Scientific and Technological Research Council of Turkey) holds a yearly competition for high school research projects. Zekeriya is the winner of the first place award for computer technologies. He has been designing and implementing Rhodeus

Re: Facebook Engineering blog entry on DConf 2013 by Ben Gertzfield

2013-05-24 Thread Walter Bright
On 5/24/2013 11:22 AM, Andrei Alexandrescu wrote: https://www.facebook.com/notes/facebook-engineering/speaking-a-whole-new-language-dconf-2013-at-facebook/10151468799633920 Wow! Best summary yet of the conference!

Re: Talha Zekeriya Durmuş's D project takes first place in TÜBİTAK competition

2013-05-24 Thread Walter Bright
On 5/24/2013 11:45 AM, Ali Çehreli wrote: On 05/24/2013 11:34 AM, Walter Bright wrote: On 5/24/2013 10:32 AM, Ali Çehreli wrote: TÜBİTAK (The Scientific and Technological Research Council of Turkey) holds a yearly competition for high school research projects. Zekeriya is the winner

Re: dmd 2.063 beta 5

2013-05-23 Thread Walter Bright
On 5/22/2013 11:55 PM, Jacob Carlborg wrote: On 2013-05-21 22:36, Walter Bright wrote: Join the dmd beta mailing list to keep up with the betas. This one is pretty much good to go, unless something disastrous crops up. http://ftp.digitalmars.com/dmd2beta.zip All directories have executable

Re: dmd 2.063 beta 5

2013-05-23 Thread Walter Bright
On 5/23/2013 4:07 AM, Iain Buclaw wrote: On 21 May 2013 21:36, Walter Bright newshou...@digitalmars.com wrote: Join the dmd beta mailing list to keep up with the betas. This one is pretty much good to go, unless something disastrous crops up. http://ftp.digitalmars.com/dmd2beta.zip Remaining

Re: dmd 2.063 beta 5

2013-05-23 Thread Walter Bright
On 5/23/2013 2:05 AM, Don wrote: NO NO NO NO. I am violently opposed to this release. This beta contains the worst language misfeature of all time. It's silently snuck in under the guise of a bugfix. Don has an excellent point. His case is bolstered by this causing Tango2 to fail to compile

Re: dmd 2.063 beta 5

2013-05-23 Thread Walter Bright
On 5/23/2013 5:35 PM, Steven Schveighoffer wrote: What about making it an error UNLESS you pass a compiler flag. The user will be informed, and the new behavior (which I find useful) is possible. While that idea has significant merit, I oppose it on the following grounds: 1. It forces a very

Re: dmd 2.063 beta 5

2013-05-23 Thread Walter Bright
On 5/23/2013 5:56 PM, Walter Bright wrote: On 5/23/2013 5:35 PM, Steven Schveighoffer wrote: What about making it an error UNLESS you pass a compiler flag. The user will be informed, and the new behavior (which I find useful) is possible. While that idea has significant merit, I oppose

Re: dmd 2.063 beta 5

2013-05-23 Thread Walter Bright
On 5/23/2013 6:01 PM, Andrei Alexandrescu wrote: On 5/23/13 8:56 PM, Walter Bright wrote: On 5/23/2013 5:35 PM, Steven Schveighoffer wrote: What about making it an error UNLESS you pass a compiler flag. The user will be informed, and the new behavior (which I find useful) is possible. While

Re: dmd 2.063 beta 5

2013-05-23 Thread Walter Bright
On 5/23/2013 7:35 PM, bearophile wrote: Walter Bright: 3. Naive users may see their compile fail, see a switch to 'enable' it, and throw the switch. Now it compiles, but fails silently at runtime. This is because the new behavior is quite different from the old, and the code that relies

Re: dmd 2.063 beta 5

2013-05-23 Thread Walter Bright
On 5/23/2013 7:57 PM, bearophile wrote: Walter Bright: Even if such naive D programmers exist, maybe it's better to ignore this third point, because they will not be able to program in D for other reasons. s/naive/tired/ s/naive/inahurry/ I'm surprised at you, bearophile! A safe and well

Re: dmd 2.063 beta 5

2013-05-23 Thread Walter Bright
On 5/23/2013 7:38 PM, Steven Schveighoffer wrote: On Thu, 23 May 2013 21:56:47 -0400, Walter Bright newshou...@digitalmars.com wrote: On 5/23/2013 5:56 PM, Walter Bright wrote: On 5/23/2013 5:35 PM, Steven Schveighoffer wrote: What about making it an error UNLESS you pass a compiler flag

<    9   10   11   12   13   14   15   16   17   18   >