Re: Descent support dmd2.032£¿

2009-09-05 Thread dolive89
dolive89 дµ½: > Ary Borenszweig дµ½: > > > dolive89 wrote: > > > Ary Borenszweig дµ½: > > > > > >> dolive89 wrote: > > >>> Ary Borenszweig дµ½: > > >>> > > dolive89 wrote: > > > Ary Borenszweig дµ½: > > > > > >> dolive89 wrote: > > >>> In addition, please provide the av

Re: Turkish 'I's can't D either

2009-09-05 Thread Ali Cehreli
Stewart Gordon Wrote: > I is the uppercase form of ı. > İ is the uppercase form of i. > > http://www.unicode.org/Public/UNIDATA/UnicodeData.txt > lists them as > 0049;LATIN CAPITAL LETTER I;Lu;0;L;N0069; > 0069;LATIN SMALL LETTER I;Ll;0;L;N;;;0049;;0049 > 0130;LATIN CAPITAL LETTER I

Re: DDL should become official part of DMD

2009-09-05 Thread JPF
BLS wrote: > c topic.. what do you think ? > > IMO : this could be a D "killer feature". I don't know how complicated that would be (licensing issues, ...), but as a developer / user I would really like it: It's needed to implement stuff like addins in a convenient way. And it would be great if w

Re: D naming style?

2009-09-05 Thread Michel Fortin
On 2009-09-04 21:07:01 -0400, Jarrett Billingsley said: On Fri, Sep 4, 2009 at 8:42 PM, Ali Cehreli wrote: Is there a common(-ish) naming style for D? - camel case or underscores within words of names? - type names begin with capital? - underscore before or after member names? - enum valu

what happened to std.array.erase?

2009-09-05 Thread div0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was using it. Is it going to come back any point soon or should I just rewrite my stuff? tia - -- My enormous talent is exceeded only by my outrageous laziness. http://www.ssTk.co.uk -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Com

Re: Descent support dmd2.032£¿

2009-09-05 Thread Ary Borenszweig
dolive89 escribió: dolive89 дµ½: Ary Borenszweig дµ½: dolive89 wrote: Ary Borenszweig дµ½: dolive89 wrote: Ary Borenszweig дµ½: dolive89 wrote: Ary Borenszweig дµ½: dolive89 wrote: In addition, please provide the availability of language pack£¬Let's translate Everything is port

Iterators Must Go (Ahead)

2009-09-05 Thread Andrei Alexandrescu
Hello, I wrote an article about D's ranges, contrasting them to other iteration idioms. Those who'd be interested in reviewing the article, please send me email. (I may not be able to reply to all requests.) The article has very few prerequisites, so I encourage people who aren't very versed

Re: Compiled dmd2.032 in VC++ 2009!

2009-09-05 Thread Jeremie Pelletier
Walter Bright Wrote: > Jeremie Pelletier wrote: > > Well I've decided to get a look at the dmd2 source and see what I can > > contribute to it, only to notice it is very VC++ unfriendly. After a > > few hours of work, I finally got it to compile, and it works great, > > for the most part. > > Can

Re: D naming style?

2009-09-05 Thread Leandro Lucarella
Jarrett Billingsley, el 4 de septiembre a las 22:53 me escribiste: > On Fri, Sep 4, 2009 at 10:14 PM, bearophile wrote: > > Jarrett Billingsley: > >> I'm consistently confused by D (and Java and C#) code that doesn't > >> indicate member names, especially when they're named really common > >> thin

Compile-time overflow checks

2009-09-05 Thread bearophile
This comes from a post from D.learn: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=17520 This line of code: const ulong N = 1024 * 1024 * 1024 * 2; The programmer has not seen N to be 2_147_483_648UL but 18_446_744_071_562_067_968UL. Steven Schveigho

Re: Compiled dmd2.032 in VC++ 2009!

2009-09-05 Thread Jeremie Pelletier
Jeremie Pelletier Wrote: > Walter Bright Wrote: > > > Jeremie Pelletier wrote: > > > Well I've decided to get a look at the dmd2 source and see what I can > > > contribute to it, only to notice it is very VC++ unfriendly. After a > > > few hours of work, I finally got it to compile, and it works

Re: Compiled dmd2.032 in VC++ 2009!

2009-09-05 Thread div0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeremie Pelletier wrote: Sweet. If dmd can compile w/ VS outa the box, I'll start poking around in it. Hey you can knock mirco-soft all you like, but VS is the nuts. - -- My enormous talent is exceeded only by my outrageous laziness. http://www.ssTk

Re: Compiled dmd2.032 in VC++ 2009!

2009-09-05 Thread bearophile
Jeremie Pelletier: > I also made a simple D script to rename all c files to cpp: Generally I suggest to use a scripting language to do a similar task (or a simper linux shell script, probably one or two lines), but I agree that doing this I can't see possible faults/troubles of the same D code.

Re: Compiled dmd2.032 in VC++ 2009!

2009-09-05 Thread Jeremie Pelletier
bearophile Wrote: > Jeremie Pelletier: > > I also made a simple D script to rename all c files to cpp: > > Generally I suggest to use a scripting language to do a similar task (or a > simper linux shell script, probably one or two lines), but I agree that doing > this I can't see possible fault

Re: Compiled dmd2.032 in VC++ 2009!

2009-09-05 Thread Jeremie Pelletier
div0 Wrote: > Jeremie Pelletier wrote: > > > Sweet. If dmd can compile w/ VS outa the box, I'll start poking around > in it. Hey you can knock mirco-soft all you like, but VS is the nuts. Yeah, I side with you here. I may not be a fan of the business model Microsoft uses, but their IDE is oh so

Re: D naming style?

2009-09-05 Thread Jeremie Pelletier
bearophile Wrote: > Jarrett Billingsley: > > I'm consistently confused by D (and Java and C#) code that doesn't > > indicate member names, especially when they're named really common > > things that often conflict with local variables, like "len" or "src" > > or such. Unless the type is small enou

Re: D naming style?

2009-09-05 Thread Jeremie Pelletier
Michel Fortin Wrote: > On 2009-09-04 21:07:01 -0400, Jarrett Billingsley > said: > > > On Fri, Sep 4, 2009 at 8:42 PM, Ali Cehreli wrote: > >> Is there a common(-ish) naming style for D? > >> > >> - camel case or underscores within words of names? > >> > >> - type names begin with capital? >

Re: Compiled dmd2.032 in VC++ 2009!

2009-09-05 Thread Rainer Deyke
Jeremie Pelletier wrote: > bearophile Wrote: >> - if(de.name[$-2 .. $] == ".c") is a bit unsafe, (...) > I don't see how unsafe that is in this context. Potential buffer underrun. http://www.digitalmars.com/d/1.0/arrays.html: "A program may not rely on array bounds checking happening" -- Rainer

Re: Compiled dmd2.032 in VC++ 2009!

2009-09-05 Thread Jeremie Pelletier
Rainer Deyke Wrote: > Jeremie Pelletier wrote: > > bearophile Wrote: > >> - if(de.name[$-2 .. $] == ".c") is a bit unsafe, (...) > > I don't see how unsafe that is in this context. > > Potential buffer underrun. > http://www.digitalmars.com/d/1.0/arrays.html: "A program may not rely on > array bo