Re: Marketing D [ was Re: GCC 4.6 ]

2010-11-01 Thread Gour
On Mon, 01 Nov 2010 11:14:09 -0700 >> "Walter" == Walter Bright wrote: Walter> I appreciate you having the courage to stand up to the critics. Walter> I hope we can ensure that your choice turns out to be a big win Walter> for you. Well, I learnt that judging someone based on his (its) past i

Re: blog: Overlooked Essentials for Optimizing Code

2010-11-01 Thread BCS
Hello Bruno, On 31/10/2010 05:35, BCS wrote: Hello Bruno, Which degree did 'Software engineers' take then? You know, that's one thing that kinda irks me: Why is it called 'Software engineers' when I've never seen engineering taught in a CS course (not to be confused with real "computer eng

Re: Proposal: Relax rules for 'pure'

2010-11-01 Thread Robert Jacques
On Mon, 01 Nov 2010 10:24:43 -0400, Bruno Medeiros wrote: On 29/10/2010 02:32, Robert Jacques wrote: [snip] The programming language Cilk popularized the concept of parallelization through many small tasks combined with a work stealing runtime. Futures are essentially the same concept, but be

Re: The Computer Languages Shootout Game

2010-11-01 Thread Isaac Gouy
--- On Mon, 11/1/10, retard wrote: > From: retard > Subject: Re: The Computer Languages Shootout Game > To: digitalmars-d@puremagic.com > Date: Monday, November 1, 2010, 5:23 PM > Mon, 01 Nov 2010 13:39:07 -0700, > I'm guessing he also accepts money and > other kinds of gifts as a dedication

Re: The Computer Languages Shootout Game

2010-11-01 Thread retard
Mon, 01 Nov 2010 13:39:07 -0700, Walter Bright wrote: > Isaac Gouy wrote: >>> Nobody would believe benchmarks on the D web site. Heck, I don't >>> believe any benchmarks published by the developers of any language. >> When you publish the source code of the programs, and the compile and >> build l

Re: blog: Overlooked Essentials for Optimizing Code (Software Engineering degrees)

2010-11-01 Thread Diego Cano Lagneaux
In most Europe, Engineering is always a 5 years (masters) degree, oriented to big project developers who'll (supposedly) lead teams. I've heard it's different in the Anglosaxon systems. Whoa! :o Shit, I'm going to go on a big tangent here, but I'm very surprised to again hear that notion that

Re: The Computer Languages Shootout Game

2010-11-01 Thread Isaac Gouy
--- On Mon, 11/1/10, Rainer Deyke wrote: > From: Rainer Deyke > Subject: Re: The Computer Languages Shootout Game > To: digitalmars-d@puremagic.com > Date: Monday, November 1, 2010, 2:01 PM > On 11/1/2010 13:04, Isaac Gouy > wrote: > > --- On Mon, 11/1/10, Walter Bright > > wrote: > >> Nobody

Re: What do people here use as an IDE?

2010-11-01 Thread Bruno Medeiros
On 29/10/2010 21:29, dolive wrote: Bruno Medeiros дµ½: On 13/10/2010 03:20, Eric Poggel wrote: On 10/12/2010 10:11 PM, Michael Stover wrote: Descent is a dead project, replaced by DDT which doesn't have a release. Also, I'm running Linux at home and Mac at work, so VisualD won't do for me. P

Re: The Computer Languages Shootout Game

2010-11-01 Thread Isaac Gouy
--- On Mon, 11/1/10, Walter Bright wrote: > From: Walter Bright > Subject: Re: The Computer Languages Shootout Game > To: digitalmars-d@puremagic.com > Date: Monday, November 1, 2010, 1:39 PM > Isaac Gouy wrote: > >> Nobody would believe benchmarks on the D web site. > Heck, I don't believe >

Re: The Computer Languages Shootout Game

2010-11-01 Thread Rainer Deyke
On 11/1/2010 13:04, Isaac Gouy wrote: > --- On Mon, 11/1/10, Walter Bright > wrote: >> Nobody would believe benchmarks on the D web site. Heck, I don't >> believe any benchmarks published by the developers of any >> language. > > When you publish the source code of the programs, and the compile a

Re: The Computer Languages Shootout Game

2010-11-01 Thread Walter Bright
Isaac Gouy wrote: Nobody would believe benchmarks on the D web site. Heck, I don't believe any benchmarks published by the developers of any language. When you publish the source code of the programs, and the compile and build logs, and the compiler and linker versions, and the OS the measuremen

Re: Ruling out arbitrary cost copy construction?

2010-11-01 Thread Bruno Medeiros
On 31/10/2010 16:42, Andrei Alexandrescu wrote: On 10/31/10 8:04 AM, Michel Fortin wrote: On 2010-10-30 23:56:24 -0400, Andrei Alexandrescu said: Walter and I discussed the matter again today and we're on the brink of deciding that cheap copy construction is to be assumed. This simplifies the

Re: Ruling out arbitrary cost copy construction?

2010-11-01 Thread Bruno Medeiros
On 31/10/2010 03:56, Andrei Alexandrescu wrote: On 10/30/2010 09:40 PM, Michel Fortin wrote: On 2010-10-30 20:49:38 -0400, Andrei Alexandrescu said: On 10/30/10 2:24 CDT, Don wrote: At the moment, I think it's impossible. Has anyone succesfully implemented refcounting in D? As long as bug 35

Re: LDC2 Status [was: Marketing D]

2010-11-01 Thread Iain Buclaw
== Quote from Michel Fortin (michel.for...@michelf.com)'s article > On 2010-11-01 11:02:02 -0400, Andrei Alexandrescu > said: > > On 11/1/10 3:26 AM, Iain Buclaw wrote: > >> In a month, the GDC project may be in such a position (up to date + > >> stable) that I > >> will likely do so. > > > > I wo

Re: shorter foreach syntax - C++0x range-based for

2010-11-01 Thread Kagamin
Andrei Alexandrescu Wrote: > Java did a lot of things right (be they novel or not) that are present > in D, such as reference semantics for classes, inner classes with outer > object access etc. Implicitly making inner class inner is not right.

Re: The Computer Languages Shootout Game

2010-11-01 Thread Isaac Gouy
--- On Mon, 11/1/10, Walter Bright wrote: > From: Walter Bright > Subject: Re: The Computer Languages Shootout Game > To: digitalmars-d@puremagic.com > Date: Monday, November 1, 2010, 11:54 AM > Isaac Gouy wrote: > >> I'm not happy with your choice, but I don't > dictate to you or anyone else.

Re: The Computer Languages Shootout Game

2010-11-01 Thread Walter Bright
Isaac Gouy wrote: I'm not happy with your choice, but I don't dictate to you or anyone else. It's your site and you can do as you please with it. Maybe someone in the D community will make the effort and produce comparison performance measurements, and then you can choose to publish them (or not

Re: The Computer Languages Shootout Game

2010-11-01 Thread Isaac Gouy
--- On Mon, 11/1/10, Walter Bright wrote: > From: Walter Bright > Subject: Re: The Computer Languages Shootout Game > To: digitalmars-d@puremagic.com > Date: Monday, November 1, 2010, 11:02 AM > Isaac Gouy wrote: > > On 10/31/2010 5:13 PM, Walter Bright wrote: > >> The thing about that shootou

Re: LDC2 Status [was: Marketing D]

2010-11-01 Thread bioinfornatics
why talk about gdc on LDC2 thread?

Re: Marketing D [ was Re: GCC 4.6 ]

2010-11-01 Thread Walter Bright
Gour wrote: On Mon, 01 Nov 2010 02:15:06 -0700 "Walter" == Walter Bright wrote: Walter> I agree that the most likely route for D is in through the back Walter> door. Why not open-source projects as well? We're planning to make one, despite advises against (see latest answer http://tinyurl.co

Re: The Computer Languages Shootout Game

2010-11-01 Thread Andrei Alexandrescu
On 11/1/10 12:23 PM, Isaac Gouy wrote: On 10/31/2010 14:41 PM, Eric Poggel wrote: What can we do to get it back on there? 1) What you can do is - make your own measurements and publish them. To make that easy I packaged the Python script used to make the benchmarks game measurements. A) N

Re: The Computer Languages Shootout Game

2010-11-01 Thread Walter Bright
Isaac Gouy wrote: On 10/31/2010 5:13 PM, Walter Bright wrote: The thing about that shootout is D used to be on there, until the maintainer of the site removed it. D still is on there. The maintainer of the site did not remove it. http://shootout.alioth.debian.org/gp4/measurements.php?lang=dl

Re: The Computer Languages Shootout Game

2010-11-01 Thread Lutger
Walter Bright wrote: > Lutger wrote: >> A linux distro or community repository cannot >> distribute dmd at all, it is prohibited by the license. This is >> primarily a practical issue, not an ideological one. > > And any one who has bothered to ask me, I have given permission to > include it. Th

The Computer Languages Shootout Game

2010-11-01 Thread Isaac Gouy
On 10/31/2010 5:28 PM, bearophile wrote: > Before being sure of this you have to receive an answer from that person. Yes ;-) > D was removed maybe for the lack of a 64 bit implementation, but also No. > because that site author has reduced the amount of work needed to manage > the site, redu

The Computer Languages Shootout Game

2010-11-01 Thread Isaac Gouy
On 10/31/2010 5:13 PM, Walter Bright wrote: > The thing about that shootout is D used to be on there, until the > maintainer of the site removed it. D still is on there. The maintainer of the site did not remove it. http://shootout.alioth.debian.org/gp4/measurements.php?lang=dlang > He refuses

The Computer Languages Shootout Game

2010-11-01 Thread Isaac Gouy
On 10/31/2010 14:41 PM, Eric Poggel wrote: > What can we do to get it back on there? 1) What you can do is - make your own measurements and publish them. To make that easy I packaged the Python script used to make the benchmarks game measurements. A) Notes and download (Alioth issue their own

Re: LDC2 Status [was: Marketing D]

2010-11-01 Thread Michel Fortin
On 2010-11-01 11:02:02 -0400, Andrei Alexandrescu said: On 11/1/10 3:26 AM, Iain Buclaw wrote: In a month, the GDC project may be in such a position (up to date + stable) that I will likely do so. I wonder what we can do about increasing GDC's exposure. One common pattern is that people l

Re: LDC2 Status [was: Marketing D]

2010-11-01 Thread Iain Buclaw
== Quote from Andrei Alexandrescu (seewebsiteforem...@erdani.org)'s article > On 11/1/10 3:26 AM, Iain Buclaw wrote: > > == Quote from Walter Bright (newshou...@digitalmars.com)'s article > >> dsimcha wrote: > >>> In the bigger picture, the only usable D2 implementation is DMD. This > >>> isn't s

Re: The Computer Languages Shootout Game

2010-11-01 Thread Andrei Alexandrescu
On 11/1/10 11:47 AM, Eric Poggel wrote: On 10/31/2010 7:25 PM, Walter Bright wrote: Lutger wrote: A linux distro or community repository cannot distribute dmd at all, it is prohibited by the license. This is primarily a practical issue, not an ideological one. And any one who has bothered to

Re: The Computer Languages Shootout Game

2010-11-01 Thread Eric Poggel
On 10/31/2010 7:25 PM, Walter Bright wrote: Lutger wrote: A linux distro or community repository cannot distribute dmd at all, it is prohibited by the license. This is primarily a practical issue, not an ideological one. And any one who has bothered to ask me, I have given permission to includ

Re: shorter foreach syntax - C++0x range-based for

2010-11-01 Thread Nick Treleaven
On Mon, 01 Nov 2010 09:07:29 -0700, Jonathan M Davis wrote: >> for (ref x : array) >> x *= 2; >> >> Apart from being 4 chars shorter, I think it looks more natural using >> the ':' instead of ';'. A lesser benefit is it allows reuse of the >> 'for' keyword, making the 'foreach' keyword unnecess

Re: shorter foreach syntax - C++0x range-based for

2010-11-01 Thread Jonathan M Davis
On Monday, November 01, 2010 06:16:47 Nick Treleaven wrote: > There's a C++0x proposal for a range-based 'for' statement: > http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html > > The upcoming GCC 4.6 C++ compiler changes list support for this: > http://gcc.gnu.org/gcc-4.6/changes.h

Re: shorter foreach syntax - C++0x range-based for

2010-11-01 Thread Nick Treleaven
On Mon, 01 Nov 2010 10:09:17 -0400, Gary Whatmore wrote: >> I think this is better: >> >> for (ref x : array) >> x *= 2; >> >> Apart from being 4 chars shorter, I think it looks more natural using >> the ':' instead of ';'. A lesser benefit is it allows reuse of the >> 'for' keyword, making th

Re: Streaming library (NG Threading)

2010-11-01 Thread Bruno Medeiros
On 29/10/2010 18:08, Denis Koroskin wrote: On Fri, 29 Oct 2010 16:32:24 +0400, Bruno Medeiros wrote: On 29/10/2010 12:50, Denis Koroskin wrote: On Fri, 29 Oct 2010 15:40:35 +0400, Bruno Medeiros wrote: On 13/10/2010 18:48, Daniel Gibson wrote: Andrei Alexandrescu schrieb: On 10/13/10 11:

Re: blog: Overlooked Essentials for Optimizing Code (Software Engineering degrees)

2010-11-01 Thread Bruno Medeiros
On 25/10/2010 23:09, Diego Cano Lagneaux wrote: En Mon, 25 Oct 2010 13:22:02 +0200, Bruno Medeiros escribió: On 22/10/2010 15:56, Diego Cano Lagneaux wrote: Well, you think wrongly. :) If you look at the top universities worldwide, the majority of them have only one "computer programming" und

Re: shorter foreach syntax - C++0x range-based for

2010-11-01 Thread Torarin
Pilsy: > D is as much Java++ as it is C+=2. Andrei: > Java did a lot of things right (be they novel or not) that are present in D Even if Java did only a single thing right, it would be silly to not adopt it just to avoid "embarrassment". Anyway, I think it's a nice syntax.

Re: shorter foreach syntax - C++0x range-based for

2010-11-01 Thread Andrei Alexandrescu
On 11/1/10 9:09 AM, Gary Whatmore wrote: Nick Treleaven Wrote: There's a C++0x proposal for a range-based 'for' statement: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html The upcoming GCC 4.6 C++ compiler changes list support for this: http://gcc.gnu.org/gcc-4.6/changes.html

Re: LDC2 Status [was: Marketing D]

2010-11-01 Thread Andrei Alexandrescu
On 11/1/10 3:26 AM, Iain Buclaw wrote: == Quote from Walter Bright (newshou...@digitalmars.com)'s article dsimcha wrote: In the bigger picture, the only usable D2 implementation is DMD. This isn't so bad, as non-reference implementations always take awhile to catch up. Jython, for example, i

Re: shorter foreach syntax - C++0x range-based for

2010-11-01 Thread Pillsy
Gary Whatmore Wrote: [...] > It would be embarrasing to admit that Java did something right. Like class types being reference types, having "abstract" and "final" keywords, only alloowing single inheritance of implementation while allowing multiple implementation of interface, adding garbage col

Re: Proposal: Relax rules for 'pure'

2010-11-01 Thread Bruno Medeiros
On 29/10/2010 02:32, Robert Jacques wrote: On Thu, 28 Oct 2010 10:48:34 -0400, Bruno Medeiros wrote: On 26/10/2010 04:47, Robert Jacques wrote: On Mon, 25 Oct 2010 09:44:14 -0400, Bruno Medeiros wrote: On 23/09/2010 23:39, Robert Jacques wrote: On Thu, 23 Sep 2010 16:35:23 -0400, Tomek Sow

Re: shorter foreach syntax - C++0x range-based for

2010-11-01 Thread Gary Whatmore
Nick Treleaven Wrote: > There's a C++0x proposal for a range-based 'for' statement: > http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html > > The upcoming GCC 4.6 C++ compiler changes list support for this: > http://gcc.gnu.org/gcc-4.6/changes.html > > I think the syntax could be

Re: Ruling out arbitrary cost copy construction?

2010-11-01 Thread Pillsy
Andrei Alexandrescu Wrote: [...] > (Why don't you post more often?) I mostly post during lulls at work. > > I can't think of a case where someone just does it because > > they know better. > The typical case is value types of variable length: strings (the > built-in offering notwithstanding),

Re: Language features and reinterpret casts

2010-11-01 Thread Bruno Medeiros
On 21/09/2010 09:23, Simen kjaeraas wrote: bearophile wrote: klickverbot: Are there any cases where (*cast(int*)&someFloat) does not fit the bill? I am not a C lawyer, but I think that too is undefined in C (and maybe D too). From your own link (http://www.digitalmars.com/webnews/newsgrou

Re: Language features and reinterpret casts

2010-11-01 Thread Bruno Medeiros
On 21/09/2010 00:27, bearophile wrote: klickverbot: Are there any cases where (*cast(int*)&someFloat) does not fit the bill? I am not a C lawyer, but I think that too is undefined in C (and maybe D too). Bye, bearophile In general, it is definitely undefined behavior in C, but that's becaus

Re: blog: Overlooked Essentials for Optimizing Code

2010-11-01 Thread Bruno Medeiros
On 31/10/2010 05:35, BCS wrote: Hello Bruno, Which degree did 'Software engineers' take then? You know, that's one thing that kinda irks me: Why is it called 'Software engineers' when I've never seen engineering taught in a CS course (not to be confused with real "computer engineering" cours

shorter foreach syntax - C++0x range-based for

2010-11-01 Thread Nick Treleaven
There's a C++0x proposal for a range-based 'for' statement: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html The upcoming GCC 4.6 C++ compiler changes list support for this: http://gcc.gnu.org/gcc-4.6/changes.html I think the syntax could be useful for D to shorten and improve o

Re: Marketing D [ was Re: GCC 4.6 ]

2010-11-01 Thread Gour
On Mon, 01 Nov 2010 02:15:06 -0700 >> "Walter" == Walter Bright wrote: Walter> I agree that the most likely route for D is in through the back Walter> door. Why not open-source projects as well? We're planning to make one, despite advises against (see latest answer http://tinyurl.com/36yzzj4

Re: The Computer Languages Shootout Game

2010-11-01 Thread retard
Mon, 01 Nov 2010 11:19:08 +0100, Diego Cano Lagneaux wrote: >>> Of which there are very few. A linux distro or community repository >>> cannot distribute dmd at all, it is prohibited by the license. This is >>> primarily a practical issue, not an ideological one. >> >> Right.. I forgot the issue

Re: The Computer Languages Shootout Game

2010-11-01 Thread Gour
On Mon, 01 Nov 2010 11:19:08 +0100 >> "Diego" == "Diego Cano Lagneaux" wrote: Diego> ArchLinux includes dmd (version 1) in its community repo. It Diego> does not seem so impossible as you say. Don't forget about dmd2 in AUR. ;) (http://aur.archlinux.org/packages.php?O=0&K=dmd2&do_Search=Go)

Re: The Computer Languages Shootout Game

2010-11-01 Thread Diego Cano Lagneaux
Of which there are very few. A linux distro or community repository cannot distribute dmd at all, it is prohibited by the license. This is primarily a practical issue, not an ideological one. Right.. I forgot the issue is also practical. If DigitalMars doesn't allow redistribution, they simply

Re: Marketing D [ was Re: GCC 4.6 ]

2010-11-01 Thread Walter Bright
Juanjo Alvarez wrote: With Python what happened for some years was that some companies were using it for lots of internal project, but not disclosing its use, for fear that the upper management could scream, "whats that python crap! That is not java! " I know because I worked on one of them (a

Re: Marketing D [ was Re: GCC 4.6 ]

2010-11-01 Thread Juanjo Alvarez
On Sun, 31 Oct 2010 14:12:04 -0700, Walter Bright wrote: Sometimes I feel people are just waiting around, wanting to use D, but waiting for someone else to make the first move. It's like a dance club, where everyone With Python what happened for some years was that some companies were using

Re: LDC2 Status [was: Marketing D]

2010-11-01 Thread Walter Bright
Iain Buclaw wrote: == Quote from Walter Bright (newshou...@digitalmars.com)'s article dsimcha wrote: In the bigger picture, the only usable D2 implementation is DMD. This isn't so bad, as non-reference implementations always take awhile to catch up. Jython, for example, is still back on Pyth

Re: LDC2 Status [was: Marketing D]

2010-11-01 Thread Iain Buclaw
== Quote from Walter Bright (newshou...@digitalmars.com)'s article > dsimcha wrote: > > In the bigger picture, the only usable D2 implementation is DMD. This > > isn't so > > bad, as non-reference implementations always take awhile to catch up. > > Jython, for > > example, is still back on Pyth

Re: Marketing D [ was Re: GCC 4.6 ]

2010-11-01 Thread dennis luehring
On 01.11.2010 05:43, SK wrote: On Sun, Oct 31, 2010 at 9:19 PM, Andrei Alexandrescu wrote: No Windows? My Google-fu shows most complaints related to LLVM on Windows are actually clang problems. I also came across this, but maybe old news here: http://software.intel.com/en-us/blogs/2009/05/2