An idea for the D community

2010-06-27 Thread Petr
Hi, I'm (reasonably) new to D, and I just bought the TDPL. (Thanks Andrei!) 1) I think what would be good is github like website for D libraries/programs(It might even support SVN and Mercurial) and people should be encouraged to base their opensource D projects there 2) On top of this, I think

[TDPL] arrays of D future

2010-06-27 Thread Tyro[a.c.edwards]
Andrei, I must say that the reading is absolutely enjoyable. I do have one question regarding the StackImpl example on page 234. Are you forecasting future functionality that arrays will support with your use of .empty, .back, and .popBack or am I too na�ve to understand that I need to implement

Re: An idea for the D community

2010-06-27 Thread Daniel Keep
Petr wrote: > Hi, > > I'm (reasonably) new to D, and I just bought the TDPL. (Thanks Andrei!) > > 1) I think what would be good is github like website for D > libraries/programs(It might even support SVN and Mercurial) and people should > be encouraged to base their opensource D projects there

Re: [TDPL] arrays of D future

2010-06-27 Thread Lutger
wrote: > Andrei, > > I must say that the reading is absolutely enjoyable. I do have one > question regarding the StackImpl example on page 234. Are you forecasting > future functionality that arrays will support with your use of .empty, .back, > and .popBack or am I too na�ve to understand that

Status of std.xml (D2/Phobos)

2010-06-27 Thread Justin Johansson
May I ask is anybody working on redeveloping std.xml in the D2/Phobos library? (Currently it looks like it needs to be started over from scratch) Also what is the level of interest from library users for decent XML support in D2/Phobos? Cheers Justin Johansson

Re: Trying to build Tango as dynamic library on linux

2010-06-27 Thread jpf
Hi, are you still working on that? I tried to use druntime as a dynamic library on Linux, and I had exactly the same problem. (version node not found for symbol _d_th...@4) Googling showed that this problem has been discussed before: http://digitalmars.com/d/archives/digitalmars/D/libphobos_as_.so_

Re: An idea for the D community

2010-06-27 Thread Petr
DSSS looks like the right tool that I was looking for. Thanks! However, dsource.org is a bit annoying to use. You can't just signup and create a repository for your project. A lot of the projects on dsource infact use github. What I meant is really something like github for D, which makes it eas

Re: [TDPL] arrays of D future

2010-06-27 Thread Tyro[a.c.edwards]
== Quote from Lutger (lutger.blijdest...@gmail.com)'s article > wrote: > > Andrei, > > > > I must say that the reading is absolutely enjoyable. I do have one > > question regarding the StackImpl example on page 234. Are you forecasting > > future functionality that arrays will support with your us

Re: [TDPL] arrays of D future

2010-06-27 Thread Simen kjaeraas
Lutger wrote: wrote: Andrei, I must say that the reading is absolutely enjoyable. I do have one question regarding the StackImpl example on page 234. Are you forecasting future functionality that arrays will support with your use of .empty, .back, and .popBack or am I too na�ve to under

Re: [TDPL] arrays of D future

2010-06-27 Thread Lutger
Simen kjaeraas wrote: > Lutger wrote: > >> wrote: >> >>> Andrei, >>> >>> I must say that the reading is absolutely enjoyable. I do have one >>> question regarding the StackImpl example on page 234. Are you >>> forecasting >>> future functionality that arrays will support with your use of .empty

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Lutger
Justin Johansson wrote: > May I ask is anybody working on redeveloping std.xml in the D2/Phobos > library? (Currently it looks like it needs to be started over from scratch) > > Also what is the level of interest from library users for decent XML > support in D2/Phobos? > > Cheers > Justin Joha

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Simen kjaeraas
Justin Johansson wrote: Also what is the level of interest from library users for decent XML support in D2/Phobos? Absolutely. It is a necessity. -- Simen

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Justin Johansson
Justin Johansson wrote: May I ask is anybody working on redeveloping std.xml in the D2/Phobos library? (Currently it looks like it needs to be started over from scratch) Also what is the level of interest from library users for decent XML support in D2/Phobos? Cheers Justin Johansson Lut

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Adam Ruppe
I'm not terribly interested in it because I already wrote my own replacement: http://arsdnet.net/dcode/dom.d Mine is biased toward HTML, doing what I personally find useful, or mimicing what javascript in the browser would do instead of following the standard, but if there's anything in there that

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Lutger
Justin Johansson wrote: > Justin Johansson wrote: >> May I ask is anybody working on redeveloping std.xml in the D2/Phobos >> library? (Currently it looks like it needs to be started over from >> scratch) >> >> Also what is the level of interest from library users for decent XML >> support in D2

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Justin Johansson
Adam Ruppe wrote: I'm not terribly interested in it because I already wrote my own replacement: http://arsdnet.net/dcode/dom.d Mine is biased toward HTML, doing what I personally find useful, or mimicing what javascript in the browser would do instead of following the standard, but if there's an

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Adam Ruppe
On 6/27/10, Justin Johansson wrote: > btw. I feel it fair to add conjecture that a DOM implementation > is pretty basic stuff and that a complete XML ecosystem it much > larger than just this (i.e. an in-memory DOM). Yes, it is very simple, but so is all the XML I've ever actually encountered. I'

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Justin Johansson
Lutger wrote: Justin Johansson wrote: Justin Johansson wrote: May I ask is anybody working on redeveloping std.xml in the D2/Phobos library? (Currently it looks like it needs to be started over from scratch) Also what is the level of interest from library users for decent XML support in D2/P

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Lutger
Justin Johansson wrote: ... > > On your other point about the 5+ XML projects on dsource.org, in your > opinion, which of these do you think have the most promise, or at least > a good grounding from which to start over? > > Naturally I don't expect you to waste your time looking into these 5+ >

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Justin Johansson
Adam Ruppe wrote: On 6/27/10, Justin Johansson wrote: btw. I feel it fair to add conjecture that a DOM implementation is pretty basic stuff and that a complete XML ecosystem it much larger than just this (i.e. an in-memory DOM). Yes, it is very simple, but so is all the XML I've ever actually

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Ellery Newcomer
On 06/27/2010 10:16 AM, Justin Johansson wrote: OTOH, there are some really significant W3C specs that you may or may not be aware of and these are really difficult to implement in regular imperative languages like C/C++ and Java. Java, being all that is the following of Java I guess, has had th

What exactly are the rules of governance of the development of D?

2010-06-27 Thread Justin Johansson
Walter, For the benefit of others contributing to this newsgroup and myself, would you please explain just exactly how the development of the D programing language is governed from both a legal and transparency perspective. This is just a casual question that me thinks many people would apprecia

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Andrei Alexandrescu
Justin Johansson wrote: Adam Ruppe wrote: I'm not terribly interested in it because I already wrote my own replacement: http://arsdnet.net/dcode/dom.d Mine is biased toward HTML, doing what I personally find useful, or mimicing what javascript in the browser would do instead of following the st

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Justin Johansson
Andrei Alexandrescu wrote: Justin Johansson wrote: Adam Ruppe wrote: I'm not terribly interested in it because I already wrote my own replacement: http://arsdnet.net/dcode/dom.d Mine is biased toward HTML, doing what I personally find useful, or mimicing what javascript in the browser would do

Re: What exactly are the rules of governance of the development of D?

2010-06-27 Thread Justin Johansson
Justin Johansson wrote: Walter, For the benefit of others contributing to this newsgroup and myself, would you please explain just exactly how the development of the D programing language is governed from both a legal and transparency perspective. This is just a casual question that me thinks m

dmd build fail

2010-06-27 Thread Ellery Newcomer
from revision 560 I'm getting /usr/bin/ld: evalu8.o: undefined reference to symbol 'fetestexcept@@GLIBC_2.1' /usr/bin/ld: note: 'fetestexcept@@GLIBC_2.1' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line /lib/libm.so.6: could not read symbols: Invalid operation coll

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Jesse Phillips
On Sun, 27 Jun 2010 16:55:56 +0200, Lutger wrote: > Don't know really, sorry. From a quick glance though, I would say to > start looking into xmlp and Adam Ruppe's code. xmlp even has conformance > tests, perhaps you can work together with the author? > > http://www.dsource.org/projects/xmlp > ht

Re: An idea for the D community

2010-06-27 Thread Jesse Phillips
On Sun, 27 Jun 2010 10:44:10 +, Petr wrote: > What I meant is really something like github for D, which makes it > easier to check upon activity(or lack of) of related projects and forks. > D has a small community and a relatively small number of external > libraries that are hosted all over t

Re: Good dotProduct

2010-06-27 Thread bearophile
> I am now able to write some working SSE* code, but I am not expert yet. So if > someone is willing to write it (or even offer it, if already written), I > think Andrei will be willing to add it to the std.numeric module. My first try, writing X86+SSE asm is a pain for me still: import std.c.

Re: This just in: authorless TDPL becomes collector's edition

2010-06-27 Thread Lars T. Kyllingstad
On Tue, 01 Jun 2010 12:59:32 -0500, Andrei Alexandrescu wrote: > Due to a pretty odd mistake at the printer, the first 1000 copies of > TDPL will not have the name of the author on their cover. (The name > still appears on the back cover and the spine.) > > The history of printing is rife with ra

Requesting some DMD hacking advice for property lowering.

2010-06-27 Thread Chad J
Alright it's been a number of months since I've dabbled in D, but my spare time is slowly increasing... for now. Fingers crossed. So I'm going to attack this property lowering thing again. Here is a reminder of what I'm talking about: http://prowiki.org/wiki4d/wiki.cgi?DocComments/Property When

Re: [TDPL] arrays of D future

2010-06-27 Thread Jacob Carlborg
On 2010-06-27 14:42, Lutger wrote: Simen kjaeraas wrote: Lutger wrote: wrote: Andrei, I must say that the reading is absolutely enjoyable. I do have one question regarding the StackImpl example on page 234. Are you forecasting future functionality that arrays will support with your use

Re: Trying to build Tango as dynamic library on linux

2010-06-27 Thread Jacob Carlborg
On 2010-06-27 12:35, jpf wrote: Hi, are you still working on that? I tried to use druntime as a dynamic library on Linux, and I had exactly the same problem. (version node not found for symbol _d_th...@4) Googling showed that this problem has been discussed before: http://digitalmars.com/d/archiv

Re: An idea for the D community

2010-06-27 Thread Nick Sabalausky
"Jesse Phillips" wrote in message news:i07unh$fb...@digitalmars.com... > On Sun, 27 Jun 2010 10:44:10 +, Petr wrote: > >> What I meant is really something like github for D, which makes it >> easier to check upon activity(or lack of) of related projects and forks. >> D has a small community a

Re: An idea for the D community

2010-06-27 Thread Nick Sabalausky
"Daniel Keep" wrote in message news:i0783n$2do...@digitalmars.com... > >> 2) On top of this, I think the D community should have a RubyGems package >> manager equivalent written for D. As a Ruby user my self, this has >> significant >> advantages that you can easily manage 3rd party libraries. >

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Jacob Carlborg
On 2010-06-27 12:34, Justin Johansson wrote: May I ask is anybody working on redeveloping std.xml in the D2/Phobos library? (Currently it looks like it needs to be started over from scratch) Also what is the level of interest from library users for decent XML support in D2/Phobos? Cheers Justin

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Nick Sabalausky
"Justin Johansson" wrote in message news:i07jpn$t...@digitalmars.com... > Justin Johansson wrote: >> May I ask is anybody working on redeveloping std.xml in the D2/Phobos >> library? (Currently it looks like it needs to be started over from >> scratch) >> >> Also what is the level of interest

Re: Trying to build Tango as dynamic library on linux

2010-06-27 Thread jpf
On 27.06.2010 19:25, Jacob Carlborg wrote: > On 2010-06-27 12:35, jpf wrote: >> >> But i guess, this should really be fixed in the compiler and druntime. > > I'll have a look at these links later and see if I can do something > about it, thanks. > Btw: I filed the issue on the dmd bugtracker. ht

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread jpf
On 27.06.2010 12:34, Justin Johansson wrote: > May I ask is anybody working on redeveloping std.xml in the D2/Phobos > library? (Currently it looks like it needs to be started over from > scratch) > > Also what is the level of interest from library users for decent XML > support in D2/Phobos? >

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Yao G.
I did a simple implementation of a pull parser, using this API as reference: http://xmlpull.org/ But I used a iterator similar to the one used by Steve (from dcollections) to parse the doc. It turns out that Tango did something similar first (using iterator to parse the document), and seein

Re: Trying to build Tango as dynamic library on linux

2010-06-27 Thread Jacob Carlborg
On 2010-06-27 19:58, jpf wrote: On 27.06.2010 19:25, Jacob Carlborg wrote: On 2010-06-27 12:35, jpf wrote: But i guess, this should really be fixed in the compiler and druntime. I'll have a look at these links later and see if I can do something about it, thanks. Btw: I filed the issue on

Compilation of a numerical kernel

2010-06-27 Thread bearophile
Recently I have seen some work from Don about floating point optimization in DMD: http://d.puremagic.com/issues/show_bug.cgi?id=4380 http://d.puremagic.com/issues/show_bug.cgi?id=4383 so maybe he is interested in this too. This test program is the nested loop of a program, and it's one of the ho

Re: An idea for the D community

2010-06-27 Thread Bernard Helyer
On Sun, 27 Jun 2010 20:11:08 +1000, Daniel Keep wrote: > Petr wrote: >> Hi, >> >> I'm (reasonably) new to D, and I just bought the TDPL. (Thanks Andrei!) >> >> 1) I think what would be good is github like website for D >> libraries/programs(It might even support SVN and Mercurial) and people >>

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Bernard Helyer
On Sun, 27 Jun 2010 20:04:30 +0930, Justin Johansson wrote: > May I ask is anybody working on redeveloping std.xml in the D2/Phobos > library? (Currently it looks like it needs to be started over from > scratch) > > Also what is the level of interest from library users for decent XML > support i

Re: An idea for the D community

2010-06-27 Thread Ellery Newcomer
On 06/27/2010 05:30 PM, Bernard Helyer wrote: On Sun, 27 Jun 2010 20:11:08 +1000, Daniel Keep wrote: Petr wrote: Hi, I'm (reasonably) new to D, and I just bought the TDPL. (Thanks Andrei!) 1) I think what would be good is github like website for D libraries/programs(It might even support SVN

Renaming std.conv

2010-06-27 Thread Andrei Alexandrescu
On 06/17/2010 04:10 AM, Lars T. Kyllingstad wrote: On Wed, 16 Jun 2010 07:31:39 -0700, Andrei Alexandrescu wrote: Michel Fortin wrote: On 2010-06-16 05:15:24 -0400, Walter Bright said: The difference is not based on those 3 points, but on what Andrei wrote here. Contracts and error checkin

Re: Requesting some DMD hacking advice for property lowering.

2010-06-27 Thread Leandro Lucarella
Chad J, el 27 de junio a las 12:55 me escribiste: > Alright it's been a number of months since I've dabbled in D, but my > spare time is slowly increasing... for now. Fingers crossed. Unfortunately I can't help you, but I think your chances to get an answer can be higher if you use the dmd-intern

Re: enforce()?

2010-06-27 Thread Andrei Alexandrescu
On 06/21/2010 01:14 PM, Sean Kelly wrote: Andrei Alexandrescu Wrote: On 06/20/2010 06:18 PM, Vladimir Panteleev wrote: On Mon, 21 Jun 2010 00:17:28 +0300, Walter Bright wrote: An input to a dll is user input, and should be validated (for the sake of security, and other reasons). Validating

Re: Requesting some DMD hacking advice for property lowering.

2010-06-27 Thread Chad J
On 06/27/2010 06:59 PM, Leandro Lucarella wrote: > Chad J, el 27 de junio a las 12:55 me escribiste: >> Alright it's been a number of months since I've dabbled in D, but my >> spare time is slowly increasing... for now. Fingers crossed. > > Unfortunately I can't help you, but I think your chances

Re: cent/ucent

2010-06-27 Thread Stewart Gordon
bearophile wrote: Stewart Gordon: What "more complex jobs" would they be, let alone ones that don't equally affect D2? I don't know, writing the full D1 specs and docs, for example. What do you mean? Writing the language spec has been an ongoing process probably since D's inception. Stew

Re: Renaming std.conv

2010-06-27 Thread Jonathan M Davis
On Sunday 27 June 2010 16:09:02 Andrei Alexandrescu wrote: > > We haven't reached consensus on where to put enforce() and friends. Any > other ideas? Of the above, I like std.checks. > > Better yet, how about defining std.exception that includes a host of > exception-related functionality (such a

Re: Renaming std.conv

2010-06-27 Thread Simen kjaeraas
Andrei Alexandrescu wrote: Better yet, how about defining std.exception that includes a host of exception-related functionality (such as defining exceptions that retain file and line, perhaps stack traces etc.)? Sounds good. -- Simen

Re: Status of std.xml (D2/Phobos)

2010-06-27 Thread Sean Kelly
Andrei Alexandrescu Wrote: > Justin Johansson wrote: > > Adam Ruppe wrote: > >> I'm not terribly interested in it because I already wrote my own > >> replacement: http://arsdnet.net/dcode/dom.d > >> > >> Mine is biased toward HTML, doing what I personally find useful, or > >> mimicing what javascr