Re: [OT] DVCS

2010-11-09 Thread Bruno Medeiros
On 28/10/2010 18:51, Jérôme M. Berger wrote: Bruno Medeiros wrote: But isn't the staging area similar, if not identical to SVN? I mean, in svn you also have to do a command svn add to add new files to the sandbox. They won't get commit otherwise, right? (note: im somewhat familiar with SVN and

TDPL in Russian

2010-11-09 Thread Andrei Alexandrescu
Just got word from my editor that TDPL has been approved for translation in Russian. Andrei

Re: TDPL in Russian

2010-11-09 Thread Simen kjaeraas
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Just got word from my editor that TDPL has been approved for translation in Russian. Отлично! Now if only I knew russian, and didn't already have the english version... -- Simen

Re: TDPL in Russian

2010-11-09 Thread Walter Bright
Andrei Alexandrescu wrote: Just got word from my editor that TDPL has been approved for translation in Russian. Da, Tovarish!

Re: TDPL in Russian

2010-11-09 Thread Gour
On Tue, 09 Nov 2010 14:22:26 -0800 Andrei == Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Andrei Just got word from my editor that TDPL has been approved for Andrei translation in Russian. поздравления искренне, Гоур -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Walter Bright
JFD wrote: Yes, you're right. One should implement Apache module in D. One thing is that Apache module entry point expects a C function. I've figure that that one could just add extern(C) in front of D function to be callable from C, so that was easy. Also, Apache expects .so shared

Re: Passing dynamic arrays -- example *reference* array type

2010-11-09 Thread spir
On Mon, 8 Nov 2010 17:08:32 -0800 Jonathan M Davis jmdavisp...@gmx.com wrote: As Jesse says, they _are_ passed by reference. The struct itself _is_ the reference. (Well, that is a sensible redefinition of reference; but it is simply _not_ what the word means in any other context.) It is

Re: Passing dynamic arrays

2010-11-09 Thread spir
On Tue, 9 Nov 2010 02:14:17 +0100 Daniel Gibson metalcae...@gmail.com wrote: On Tue, Nov 9, 2010 at 1:24 AM, Jesse Phillips jessekphillip...@gmail.com wrote: The array-struct is the reference, so it is what gets compared. That means both the internal pointer and length must be the same.

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Jacob Carlborg
On 2010-11-08 20:55, Andrei Alexandrescu wrote: On 11/7/10 6:33 AM, bioinfornatics wrote: So D community will be split in 2. And D1 continue to evolve without D2 community, D1 frontend is open source and he coulb be used for improve and fix D1 The current situation and the dynamics are quite

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Jacob Carlborg
On 2010-11-09 01:37, JFD wrote: Yes, you're right. One should implement Apache module in D. One thing is that Apache module entry point expects a C function. I've figure that that one could just add extern(C) in front of D function to be callable from C, so that was easy. Also, Apache

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Jacob Carlborg
On 2010-11-09 06:17, Nick Sabalausky wrote: Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:ibaepi$vf...@digitalmars.com... People at Facebook told me that the adoption of D inside the company might be helped if they could simply write?d ... ? to insert D code into a

Re: Which compiler regressions are blocking people fom upgrading?

2010-11-09 Thread Iain Buclaw
== Quote from Don (nos...@nospam.com)'s article If anyone would like to use the latest compiler release, but cannot because of a compiler regression, please specify which bug is the blocker (and whether you are using D1 or D2). I'll try to get any such compiler regressions fixed in the next

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread ponce
D1+Tango is working well enough for my project (Yage), but I like the direction of D2. I figure the longer I wait, the more stable it will become and the easier my job will be. Pretty much the same here, except I use D1 + Phobos. To me there is little doubt that D2 is better.

Re: Which compiler regressions are blocking people fom upgrading?

2010-11-09 Thread div0
On 09/11/2010 02:01, Don wrote: If anyone would like to use the latest compiler release, but cannot because of a compiler regression, please specify which bug is the blocker (and whether you are using D1 or D2). I'll try to get any such compiler regressions fixed in the next release. Well

Re: null [re: spec#]

2010-11-09 Thread Simen kjaeraas
Jonathan M Davis jmdavisp...@gmx.com wrote: We definitely want to avoid the nastier issues, but the lack of default constructors continually pops up as being a major problem. The QtD folks in particular were have a lot of problems because of it as I understand. I've certainly had problems

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread thank you oldtimer
oldtimer Wrote: Some of us hoped D2 would solve the ugly corner cases of the language and unify a lot of features. Unfortunately not any kind of macro system was implemented, templates got even uglier, the alias this hack, snake oil template!X syntax shortcut and all kinds of unnecessary

Re: Passing dynamic arrays

2010-11-09 Thread Jens Mueller
What's the general use of a = new A() in the above code? Where is it useful? Jens I don't really have any good use-case examples. Maybe an initialization function? Developed your own number object (big int) and were thinking in terms of it being a refrence you thought a = a +

Re: null [re: spec#]

2010-11-09 Thread Jonathan M Davis
On Tuesday 09 November 2010 02:22:31 Simen kjaeraas wrote: Jonathan M Davis jmdavisp...@gmx.com wrote: We definitely want to avoid the nastier issues, but the lack of default constructors continually pops up as being a major problem. The QtD folks in particular were have a lot of problems

Re: Passing dynamic arrays

2010-11-09 Thread Jonathan M Davis
On Tuesday 09 November 2010 02:43:57 Jens Mueller wrote: What's the general use of a = new A() in the above code? Where is it useful? Jens I don't really have any good use-case examples. Maybe an initialization function? Developed your own number object (big int) and were

Re: Proposal: Relax rules for 'pure'

2010-11-09 Thread Bruno Medeiros
On 02/11/2010 03:26, Robert Jacques wrote: On Mon, 01 Nov 2010 10:24:43 -0400, Bruno Medeiros brunodomedeiros+s...@com.gmail 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

Re: Passing dynamic arrays

2010-11-09 Thread Steven Schveighoffer
On Mon, 08 Nov 2010 21:29:42 -0500, Jesse Phillips jessekphillip...@gmail.com wrote: Well, if you can come up with a good definition for what increasing the size of a class would do, then maybe it should be added. It really doesn't matter. Arrays are their own type, the have their own

Re: Passing dynamic arrays

2010-11-09 Thread bearophile
Steven Schveighoffer: I think of an array as a hybrid between a reference and a value type. The data is passed by reference, the length is passed by value. This mean changing the length only affects the local copy, but changing the data affects all arrays that point to that data.

Re: Passing dynamic arrays

2010-11-09 Thread Jens Mueller
I don't really have any good use-case examples. Maybe an initialization function? Developed your own number object (big int) and were thinking in terms of it being a refrence you thought a = a + BigInt(7); would result in a being resigned in the calling function. Or maybe

Re: Passing dynamic arrays

2010-11-09 Thread Steven Schveighoffer
On Mon, 08 Nov 2010 18:29:27 -0500, Ali Çehreli acehr...@yahoo.com wrote: Steven Schveighoffer wrote: No, it doesn't. If you are appending to data that was passed in, you are not changing the *original data* passed in. You are only appending to it. I must be remembering an old

Re: Passing dynamic arrays

2010-11-09 Thread Pillsy
Steven Schveighoffer Wrote: On Mon, 08 Nov 2010 18:29:27 -0500, Ali Çehreli acehr...@yahoo.com wrote: [...] I must be remembering an old behavior. I think appending could affect the original if it had enough capacity. Before the array append changes were introduced (somewhere around

Re: Passing dynamic arrays

2010-11-09 Thread Steven Schveighoffer
On Tue, 09 Nov 2010 08:14:40 -0500, Pillsy pillsb...@gmail.com wrote: Steven Schveighoffer Wrote: On Mon, 08 Nov 2010 18:29:27 -0500, Ali Çehreli acehr...@yahoo.com wrote: [...] I must be remembering an old behavior. I think appending could affect the original if it had enough capacity.

Re: blog: Overlooked Essentials for Optimizing Code

2010-11-09 Thread Bruno Medeiros
On 02/11/2010 04:25, BCS wrote: 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

Re: Apache mod_d needs C to instantiate D interpreter?/D embedded in HTML

2010-11-09 Thread JFD
Can't DMD already compile D code embedded in HTML: http://www.digitalmars.com/d/2.0/html.html ? I tried the sample at the link, but got error. I also tried it without the HTML code inside. Am I missing something? $ dmd hello.html Error: module hello html source files is deprecated hello.html

Re: Ruling out arbitrary cost copy construction?

2010-11-09 Thread Bruno Medeiros
On 02/11/2010 15:16, Steven Schveighoffer wrote: On Fri, 29 Oct 2010 09:06:24 -0400, Bruno Medeiros brunodomedeiros+s...@com.gmail wrote: On 06/10/2010 17:34, Andrei Alexandrescu wrote: or similar. However, a sealed range does not offer references, so trying e.g. swap(r1.front, r2.front);

Re: null [re: spec#]

2010-11-09 Thread Daniel Gibson
Nick Sabalausky schrieb: so s...@so.do wrote in message news:op.vlv3iukp7dt...@so-pc... There's no usage of an undeclared variable, but the right-hand-side of the second line uses 'i' before *the programmer* initializes it. Yes, the D compiler chooses to automatically initialize it, but by

Re: [nomenclature] systems language [OT] [NSFW]

2010-11-09 Thread Bruno Medeiros
On 30/10/2010 02:13, Walter Bright wrote: div0 wrote: There's nothing special about a systems language; it's just they have explicit facilities that make certain low level functionality easier to implement. You could implement an OS in BASIC using PEEK/POKE if you mad enough. I suppose it's

Re: Passing dynamic arrays

2010-11-09 Thread Jesse Phillips
Steven Schveighoffer Wrote: It depends on your definition of reference type. I agree with Daniel. If you want to get into academic definitions, yes, 'technically' an array is a reference, but it's confusing to someone who's not interested in exploring the theoretical parts of computer

Re: [nomenclature] systems language

2010-11-09 Thread Bruno Medeiros
On 29/10/2010 21:30, retard wrote: Fri, 29 Oct 2010 20:54:03 +0100, Bruno Medeiros wrote: On 14/10/2010 13:30, Justin Johansson wrote: Touted often around here is the term systems language. May we please discuss a definition to be agreed upon for the usage this term (at least in this

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread sybrandy
Ahh, I see that's written by the ANTLR/StringTemplate guy. I never read that paper, but the docs for his StringTemplate were a big part of what convinced me that template engines shouldn't try to be full-fledged imperative programming languages. I've done web development for a chunk of my

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Jacob Carlborg
On 2010-11-09 04:21, Andrei Alexandrescu wrote: On 11/8/10 4:37 PM, JFD wrote: Yes, you're right. One should implement Apache module in D. One thing is that Apache module entry point expects a C function. I've figure that that one could just add extern(C) in front of D function to be callable

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

2010-11-09 Thread Bruno Medeiros
On 01/11/2010 22:58, Diego Cano Lagneaux wrote: 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

Re: null [re: spec#]

2010-11-09 Thread Simen kjaeraas
Daniel Gibson metalcae...@gmail.com wrote: Nick Sabalausky schrieb: so s...@so.do wrote in message news:op.vlv3iukp7dt...@so-pc... There's no usage of an undeclared variable, but the right-hand-side of the second line uses 'i' before *the programmer* initializes it. Yes, the D compiler

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Andrei Alexandrescu
On 11/9/10 1:42 AM, Jacob Carlborg wrote: On 2010-11-08 20:55, Andrei Alexandrescu wrote: It is my perception (though I might be wrong) that the dichotomy has become to some extent political. D2 offers little political incentive to a Tango port. Tango is currently the de facto standard library

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Andrei Alexandrescu
On 11/9/10 1:42 AM, Jacob Carlborg wrote: On 2010-11-08 20:55, Andrei Alexandrescu wrote: It is my perception (though I might be wrong) that the dichotomy has become to some extent political. D2 offers little political incentive to a Tango port. Tango is currently the de facto standard library

Re: The D Scripting Language

2010-11-09 Thread Andrei Alexandrescu
On 11/7/10 9:12 PM, Eric Poggel wrote: On 11/7/2010 8:49 PM, Andrei Alexandrescu wrote: On 11/7/10 5:34 PM, Jesse Phillips wrote: Tomek Sowiñski Wrote: This wraps up a thread from a few days ago. Pascal featured my D examples on his Scriptometer site.

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Bane
ponce Wrote: D1+Tango is working well enough for my project (Yage), but I like the direction of D2. I figure the longer I wait, the more stable it will become and the easier my job will be. Pretty much the same here, except I use D1 + Phobos. To me there is little doubt that D2 is

Re: The D Scripting Language

2010-11-09 Thread bearophile
Andrei: Someone proposed to add something like http://docs.python.org/library/fileinput.html to Phobos. I think it's a good idea. Good. That someone was me (But I don't use Python fileinput often, so I have never written an enhancement request on this). Bye, bearophile

Re: Passing dynamic arrays

2010-11-09 Thread spir
On Tue, 09 Nov 2010 07:42:13 -0500 Steven Schveighoffer schvei...@yahoo.com wrote: I think of an array as a hybrid between a reference and a value type. The data is passed by reference, the length is passed by value. This mean changing the length only affects the local copy, but changing

Re: null [re: spec#]

2010-11-09 Thread Nick Sabalausky
Daniel Gibson metalcae...@gmail.com wrote in message news:ibbp25$ls...@digitalmars.com... Nick Sabalausky schrieb: so s...@so.do wrote in message news:op.vlv3iukp7dt...@so-pc... There's no usage of an undeclared variable, but the right-hand-side of the second line uses 'i' before *the

Re: null [re: spec#]

2010-11-09 Thread Nick Sabalausky
Nick Sabalausky a...@a.a wrote in message news:ibc4h2$1mm...@digitalmars.com... Daniel Gibson metalcae...@gmail.com wrote in message news:ibbp25$ls...@digitalmars.com... Nick Sabalausky schrieb: so s...@so.do wrote in message news:op.vlv3iukp7dt...@so-pc... There's no usage of an undeclared

Re: null [re: spec#]

2010-11-09 Thread Nick Sabalausky
Simen kjaeraas simen.kja...@gmail.com wrote in message news:op.vlwul8tuvxi...@biotronic-pc.lan... Daniel Gibson metalcae...@gmail.com wrote: Nick Sabalausky schrieb: so s...@so.do wrote in message news:op.vlv3iukp7dt...@so-pc... There's no usage of an undeclared variable, but the

Re: null [re: spec#]

2010-11-09 Thread Nick Sabalausky
Nick Sabalausky a...@a.a wrote in message news:ibc5ve$1q7...@digitalmars.com... Simen kjaeraas simen.kja...@gmail.com wrote in message news:op.vlwul8tuvxi...@biotronic-pc.lan... Yup. Also, as opposed to certain other solutions, it does not require advanced flow control, that is likely to be

Ask HN: What do you think of the D language?

2010-11-09 Thread Andrei Alexandrescu
Question of possible interest: http://news.ycombinator.net/item?id=1886849 Andrei

Re: Apache mod_d needs C to instantiate D interpreter?/D embedded in HTML

2010-11-09 Thread Robert Clipsham
On 09/11/10 14:24, JFD wrote: Can't DMD already compile D code embedded in HTML: http://www.digitalmars.com/d/2.0/html.html ? I tried the sample at the link, but got error. I also tried it without the HTML code inside. Am I missing something? $ dmd hello.html Error: module hello html source

Re: null [re: spec#]

2010-11-09 Thread Simen kjaeraas
Nick Sabalausky a...@a.a wrote: Also, as I've said when this was discussed in the past, I wouldn't even want the flow analysis to be perfect because all that would accomplish is to encourage garbage like the above (which would just end up being highly fragile anway). But if it isn't, we

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Nick Sabalausky
Jacob Carlborg d...@me.com wrote in message news:ibbjmv$e8...@digitalmars.com... On 2010-11-09 04:21, Andrei Alexandrescu wrote: On 11/8/10 4:37 PM, JFD wrote: Yes, you're right. One should implement Apache module in D. One thing is that Apache module entry point expects a C function. I've

Re: null [re: spec#]

2010-11-09 Thread bearophile
I agree with Nick Sabalausky in this discussion. Simen kjaeraas: But if it isn't, we must either define what it should do, or accept that some compilers will catch some of the uninitialized variable bugs, where others do not. We do not want that. Right. There are ways to write formal specs

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Walter Bright
Nick Sabalausky wrote: I seem to remember hearing that was being depricated. And it was never anything like what Andrei's describing. IIRC, all it did was completely ignore all the HTML stuff (ie, treat it like comments). It didn't send it to Stdout or anything. Right. It was not a good

Re: Passing dynamic arrays

2010-11-09 Thread Pillsy
Steven Schveighoffer Wrote: On Tue, 09 Nov 2010 08:14:40 -0500, Pillsy pillsb...@gmail.com wrote: [...] Ah! This is a lot of what was confusing me about arrays; I still thought they had this behavior. The fact that they don't makes me a good deal more comfortable with them, though I

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Jacob Carlborg
On 2010-11-09 17:43, Andrei Alexandrescu wrote: On 11/9/10 1:42 AM, Jacob Carlborg wrote: On 2010-11-08 20:55, Andrei Alexandrescu wrote: It is my perception (though I might be wrong) that the dichotomy has become to some extent political. D2 offers little political incentive to a Tango port.

Re: datetime review part 2 [Update 4]

2010-11-09 Thread Jonathan M Davis
Latest: http://is.gd/gSwDv After some discussion on the runtime list, it was decided that core.time and std.datetime should share their Duration type, so I created time.d as a prospective core.time and moved or copied datetime's Duration and any other types or functions that it needed to

Re: The D Scripting Language

2010-11-09 Thread Pelle Månsson
On 11/09/2010 06:12 PM, Andrei Alexandrescu wrote: On 11/7/10 9:12 PM, Eric Poggel wrote: On 11/7/2010 8:49 PM, Andrei Alexandrescu wrote: On 11/7/10 5:34 PM, Jesse Phillips wrote: Tomek Sowiñski Wrote: This wraps up a thread from a few days ago. Pascal featured my D examples on his

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Andrei Alexandrescu
On 11/9/10 12:33 PM, Jacob Carlborg wrote: On 2010-11-09 17:43, Andrei Alexandrescu wrote: On 11/9/10 1:42 AM, Jacob Carlborg wrote: On 2010-11-08 20:55, Andrei Alexandrescu wrote: It is my perception (though I might be wrong) that the dichotomy has become to some extent political. D2 offers

Re: datetime review part 2 [Update 4]

2010-11-09 Thread Yao G.
On Tue, 09 Nov 2010 15:03:10 -0600, Jonathan M Davis jmdavisp...@gmx.com wrote: Ugh. The datetime.d file is 1.5 MB? 0_o -- Yao G.

Re: datetime review part 2 [Update 4]

2010-11-09 Thread Dmitry Olshansky
On 10.11.2010 0:51, Yao G. wrote: On Tue, 09 Nov 2010 15:03:10 -0600, Jonathan M Davis jmdavisp...@gmx.com wrote: Ugh. The datetime.d file is 1.5 MB? 0_o That must be huge unittests :) -- Dmitry Olshansky

Re: Passing dynamic arrays

2010-11-09 Thread spir
On Tue, 09 Nov 2010 15:13:55 -0500 Pillsy pillsb...@gmail.com wrote: There's a difference between appending and appending in place. The problem with not appending in place (and arrays not having the possibility of a reserve that's larger than the actual amount, of course) is one of

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Tobias Pfaff
Hi all, before I start, let me introduce myself: I'm Tobias, currently PhD student (Computer Graphics). I did some toy project in D back in the D1/Tango days. Recently I decided on trying out whether D2 will work for a new research project once a 64bit compiler is out (still hoping someone

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Walter Bright
Tobias Pfaff wrote: 1. Bitter fighting about a possible non-nullable type for D3(!). Discussion style: Noone will take away my right to write unsafe code ! vs. Down with the reckless cowboy coders. Are we discussing guns or coding here? That, and purposedly overhearing the other's real point.

Re: The D Scripting Language

2010-11-09 Thread Peter Alexander
On 8/11/10 1:49 AM, Andrei Alexandrescu wrote: On 11/7/10 5:34 PM, Jesse Phillips wrote: Tomek Sowiñski Wrote: This wraps up a thread from a few days ago. Pascal featured my D examples on his Scriptometer site. http://rigaux.org/language-study/scripting-language/ D comes 17th out of 28, so

Re: datetime review part 2 [Update 4]

2010-11-09 Thread bearophile
Yao G.: Ugh. The datetime.d file is 1.5 MB? 0_o It contains too-much-repetitive code like: assertEqual(SysTime(DateTime(2010, 8, 1, 23, 59, 59), FracSec.from!msecs(999)).dayOfGregorianCal, 733_985); assertEqual(SysTime(DateTime(2010, 8, 31, 23, 59, 59),

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Eric Poggel
On 11/9/2010 12:17 AM, Nick Sabalausky wrote: Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:ibaepi$vf...@digitalmars.com... People at Facebook told me that the adoption of D inside the company might be helped if they could simply write?d ... ? to insert D code into a

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread so
Sean took all the code he had written. The other minor contributors did not yet give permission for their code to be used, so of course it could not be included. This is the single big thing on this tango vs phobos issue i never understand. What are the reasons/motives behind this other

Re: datetime review part 2 [Update 4]

2010-11-09 Thread Jonathan M Davis
On Tuesday, November 09, 2010 15:48:30 bearophile wrote: Yao G.: Ugh. The datetime.d file is 1.5 MB? 0_o Heavy unit testing and documenting everything adds up. The implementation isn't all that small either, but it's the unit tests and ddoc comments which really increase the size. Most of

Re: datetime review part 2 [Update 4]

2010-11-09 Thread Yao G.
On Tue, 09 Nov 2010 18:11:59 -0600, Jonathan M Davis jmdavisp...@gmx.com wrote: I think that the real question here is how good the API is. I think that the sheer size of the library, specially with a datetime.d file with almost 31,600 lines of code (granted, most of them are unit test

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Nick Sabalausky
Eric Poggel dnewsgro...@yage3d.net wrote in message news:ibcn72$2u3...@digitalmars.com... On 11/9/2010 12:17 AM, Nick Sabalausky wrote: Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message news:ibaepi$vf...@digitalmars.com... People at Facebook told me that the adoption of D

Re: datetime review part 2 [Update 4]

2010-11-09 Thread bearophile
Jonathan M Davis: While there seem to be a lot of tests, they've turned out to be _really_ helpful and by their very nature, they _need_ to be repetitive. Repetitive doesn't mean it has to take lot of space. Tests are a cross between code and documentation, and both are better not too much

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Boris Wang
++1 2010/11/9 thank you oldtimer nos...@_._ oldtimer Wrote: Some of us hoped D2 would solve the ugly corner cases of the language and unify a lot of features. Unfortunately not any kind of macro system was implemented, templates got even uglier, the alias this hack, snake oil template!X

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Roman Ivanov
On 11/9/2010 12:17 AM, Nick Sabalausky wrote: Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:ibaepi$vf...@digitalmars.com... People at Facebook told me that the adoption of D inside the company might be helped if they could simply write ?d ... ? to insert D code

Re: datetime review part 2 [Update 4]

2010-11-09 Thread bearophile
An option may be to modify the compiler so it allows to override protection in code contained inside unittest{...}. Another option is to modify the compiler so it sees unittests modules as part of another module (using a mixin() on a string import is too much hacky). Bye, bearophile

Re: The D Scripting Language

2010-11-09 Thread Gary Whatmore
Pelle Månsson Wrote: On 11/09/2010 06:12 PM, Andrei Alexandrescu wrote: On 11/7/10 9:12 PM, Eric Poggel wrote: On 11/7/2010 8:49 PM, Andrei Alexandrescu wrote: On 11/7/10 5:34 PM, Jesse Phillips wrote: Tomek Sowiñski Wrote: This wraps up a thread from a few days ago. Pascal featured

Re: The D Scripting Language

2010-11-09 Thread Gary Whatmore
Jesse Phillips Wrote: Tomek Sowiñski Wrote: This wraps up a thread from a few days ago. Pascal featured my D examples on his Scriptometer site. http://rigaux.org/language-study/scripting-language/ D comes 17th out of 28, so it's so-so for scripting. -- Tomek When I

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Boris Wang
First, forgive my poor english. we all known , Walter good at compiler writing, but not good at language design and development management , if can't change this, just be silent. I think, on language desgin, wisdom and leadership are more more important than technology. Ether continue working

Re: The D Scripting Language

2010-11-09 Thread Daniel Gibson
On Wed, Nov 10, 2010 at 2:04 AM, Gary Whatmore n...@spam.sp wrote: I think optimizing this particular test is important for the publicity of D. Once the scripting community acknowledges D, we could redesign it. We should make all current test cases one liners, if possible. I'm dreaming of a

Re: datetime review part 2 [Update 4]

2010-11-09 Thread Jonathan M Davis
On Tuesday, November 09, 2010 16:23:56 Yao G. wrote: On Tue, 09 Nov 2010 18:11:59 -0600, Jonathan M Davis jmdavisp...@gmx.com wrote: I think that the real question here is how good the API is. I think that the sheer size of the library, specially with a datetime.d file with almost 31,600

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Daniel Gibson
On Wed, Nov 10, 2010 at 2:19 AM, Boris Wang kona.m...@gmail.com wrote: First, forgive my poor english. we all known , Walter good at compiler writing, but not good at language design and development management , if can't change this, just be silent. If he isn't good at language design (in

Re: datetime review part 2 [Update 4]

2010-11-09 Thread Jonathan M Davis
On Tuesday, November 09, 2010 16:42:32 bearophile wrote: An option may be to modify the compiler so it allows to override protection in code contained inside unittest{...}. Another option is to modify the compiler so it sees unittests modules as part of another module (using a mixin() on a

Re: datetime review part 2 [Update 4]

2010-11-09 Thread Yao G.
On Tue, 09 Nov 2010 19:34:15 -0600, Jonathan M Davis jmdavisp...@gmx.com wrote: That's quite understandable, but that's part of the reason that the ddoc html files are there. Yes, but I also wanted to look at the implementation. You don't actually have to go trolling through the code to

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Andrei Alexandrescu
On 11/9/10 5:38 PM, Daniel Gibson wrote: On Wed, Nov 10, 2010 at 2:19 AM, Boris Wangkona.m...@gmail.com wrote: First, forgive my poor english. we all known , Walter good at compiler writing, but not good at language design and development management , if can't change this, just be silent. If

Re: datetime review part 2 [Update 4]

2010-11-09 Thread Jonathan M Davis
On Tuesday, November 09, 2010 17:34:15 Jonathan M Davis wrote: On Tuesday, November 09, 2010 16:23:56 Yao G. wrote: On Tue, 09 Nov 2010 18:11:59 -0600, Jonathan M Davis jmdavisp...@gmx.com wrote: I think that the real question here is how good the API is. I think that the sheer

Re: datetime review part 2 [Update 4]

2010-11-09 Thread Jonathan M Davis
On Tuesday 09 November 2010 17:45:51 Yao G. wrote: On Tue, 09 Nov 2010 19:34:15 -0600, Jonathan M Davis jmdavisp...@gmx.com wrote: That's quite understandable, but that's part of the reason that the ddoc html files are there. Yes, but I also wanted to look at the implementation. You

Re: Passing dynamic arrays

2010-11-09 Thread Jesse Phillips
Jens Mueller Wrote: I see your point. You argue that the behavior is consistent. My point is that this consistency can lead to bugs. I may forget the ref. But I'll keep in mind to never forget the ref if it is needed. Jens Well, in the case of classes, I don't think it would be very

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Daniel Gibson
On Wed, Nov 10, 2010 at 2:49 AM, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: On 11/9/10 5:38 PM, Daniel Gibson wrote: On Wed, Nov 10, 2010 at 2:19 AM, Boris Wangkona.m...@gmail.com  wrote: First, forgive my poor english. we all known , Walter good at compiler writing, but not

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Jesse Phillips
so Wrote: Sean took all the code he had written. The other minor contributors did not yet give permission for their code to be used, so of course it could not be included. This is the single big thing on this tango vs phobos issue i never understand. What are the reasons/motives

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Andrei Alexandrescu
On 11/9/10 6:10 PM, Daniel Gibson wrote: On Wed, Nov 10, 2010 at 2:49 AM, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: On 11/9/10 5:38 PM, Daniel Gibson wrote: On Wed, Nov 10, 2010 at 2:19 AM, Boris Wangkona.m...@gmail.comwrote: First, forgive my poor english. we all known

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Eric Poggel
On 11/9/2010 7:25 PM, Nick Sabalausky wrote: I could probably live with that as long as the PHP template stayed view-only and didn't grow too much logic. Are there any web-friendly languages that are mature, offer the sanity and static typing of C#, and the immediate mode of php?

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Eric Poggel
On 11/9/2010 5:27 AM, thank you oldtimer wrote: ankh, anonymous troll, another lurker, anton smith, arnoldsschwartz, bjarne yesterday, blaise pascal, cal, chmod+x, crap, darth tango, domino, ellis peters, foobar, gareth charnock, gcc-lurker, girlprogrammer, godworshipper, gryphon, her3tic,

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Boris Wang
Thanks. Apple no sorry for it's fault, but the fans still aroud it and support it. why ? 2010/11/10 Andrei Alexandrescu seewebsiteforem...@erdani.org On 11/9/10 6:10 PM, Daniel Gibson wrote: On Wed, Nov 10, 2010 at 2:49 AM, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: On

Re: Apache mod_d needs C to instantiate D interpreter?

2010-11-09 Thread Nick Sabalausky
Eric Poggel dnewsgro...@yage3d.net wrote in message news:ibd00s$dl...@digitalmars.com... On 11/9/2010 7:25 PM, Nick Sabalausky wrote: I could probably live with that as long as the PHP template stayed view-only and didn't grow too much logic. Are there any web-friendly languages that are

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Led Zeppelin
than you oldtimer wrote: [about his fantasies with trolls and forking D? (You are one sick pup! Forking D!)] D is a fantasy and the largest example of group think that I know of. You know what happens when lot's of people start living real close together: disease sets in and they whither and

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Eric Poggel
On 11/9/2010 11:39 PM, Led Zeppelin wrote: You know what happens when lot's of people start living real close together: disease sets in and they whither and Die! This is why the family unit is such a failure. Maybe trolls come from broken families?

What every D programmer really wants

2010-11-09 Thread Zuzu's Petals
They want C++ (whether they know it yet or not), because it is less complex, is easier to learn and use, is stable and has a well- defined/directed/managed evolutionary path. That it has some weird constructs is a trivial issue relatively. D has its own weirdness too. C++ is THE systems

Re: What every D programmer really wants

2010-11-09 Thread Andrew Wiley
On Tue, Nov 9, 2010 at 11:23 PM, Zuzu's Petals govi...@gogogo.org wrote: They want C++ (whether they know it yet or not), because it is less complex, is easier to learn and use, is stable and has a well- defined/directed/managed evolutionary path. That it has some weird constructs is a

Re: What every D programmer really wants

2010-11-09 Thread so
*feeds -- Using Opera's revolutionary email client: http://www.opera.com/mail/

Re: What every D programmer really wants

2010-11-09 Thread Yao G.
On Tue, 09 Nov 2010 23:28:09 -0600, Andrew Wiley debio...@gmail.com wrote: Please do not feed the trolls. But he's the same troll :/ Using a bunch of socket puppets. -- Yao G.

Re: why a part of D community do not want go to D2 ?

2010-11-09 Thread Jonathan M Davis
On Tuesday 09 November 2010 20:39:48 Led Zeppelin wrote: D will not pass Go will not collect $200. That post was definitely trolling, but I have to laugh at that last line. - Jonathan M Davis

  1   2   >