Re: How can I use D to develop web application?

2011-09-13 Thread zsxxsz
== Quote from Nick Sabalausky (a@a.a)'s article > "zsxxsz" wrote in message > news:j4o0nn$2igh$1...@digitalmars.com... > > == Quote from Adam Ruppe (destructiona...@gmail.com)'s article > >> zsxxsz wrote: > >> > I think the cgi module is low

Re: How can I use D to develop web application?

2011-09-13 Thread zsxxsz
== Quote from Trass3r (u...@known.com)'s article > > Thank you very much. I think the cgi module is lower effecient. I found > > fcgi(http://www.dsource.org/projects/fastcgi4d) and > > mango(http://www.dsource.org/projects/mango) which support servlet. But > > they don't support D2, anyone else can

Re: How can I use D to develop web application?

2011-09-13 Thread zsxxsz
== Quote from Adam Ruppe (destructiona...@gmail.com)'s article > zsxxsz wrote: > > The fork process is expensive for any OS. > Have you actually measured this? Yes, I'm sure. Fork on UNIX or CreateProcess on Win32 are expensive. > > I feel the cgi library is too

Re: How can I use D to develop web application?

2011-09-13 Thread zsxxsz
== Quote from Adam Ruppe (destructiona...@gmail.com)'s article > zsxxsz wrote: > > I think the cgi module is lower effecient. > That's not really true. The reason CGI has a perception of being > slow is because it's used by slow languages most the time, but with &g

Re: How can I use D to develop web application?

2011-09-13 Thread zsxxsz
== Quote from sclytrack (sclytr...@idiot.com)'s article > https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff > cgi > == Quote from zsxxsz (zsx...@263.net)'s article > > I find D is a excellent program lang. I usualy use C/C++, sometime usi

How can I use D to develop web application?

2011-09-13 Thread zsxxsz
e can tell me libraries for web applications? Thanks zsxxsz

When is the new gc ok?

2011-08-25 Thread zsxxsz
In my demo's testing, I found the gc of phobos is versy slowly in multi-threads example. I heard the new gc will be very highly performance, but there's no news about it these days. Can anyone else tell how about the highly performance gc? Thanks. zsxxsz

one suggestion for improving the performance of gc and memroy management

2009-12-21 Thread zsxxsz
Some days before, someone talked about the D's performance in multicore system. dsimcha gave one suggestion that in gc using spinlock maybe better than mutexlock. I have another idea about the gc and memroy management: each thread use it's own memory slice pool with using thread local storage, whic

Re: Windows multi-threading performance issues on multi-core systems only

2009-12-15 Thread zsxxsz
== Quote from dsimcha (dsim...@yahoo.com)'s article > == Quote from Dan (dsstruth...@yahoo.com)'s article > > I have a question regarding performance issue I am seeing on multicore > > Windows > systems. I am creating many threads to do parallel tasks, and on multicore > Windows systems the perfo

Re: thank's ddmd !

2009-11-09 Thread zsxxsz
== Quote from dolive (doliv...@sina.com)'s article > thank's ddmd ! it��s too great ! > http://www.dsource.org/projects/ddmd > dolive Greate work! But it doesn't support LINUX yet:(

Re: The XML module in Phobos

2009-07-30 Thread zsxxsz
== Quote from Daniel Keep (daniel.keep.li...@gmail.com)'s article > This is basically the only way to map xml parsing to ranges. As for > CONSUMING ranges, I think that'd be a bad idea for the same reason > basing IO entirely on ranges is a bad idea. > The only other use for ranges I can think of

Re: We can see the performance difference from the simple functions in Tango and Phobos

2009-07-30 Thread zsxxsz
== Quote from Jarrett Billingsley (jarrett.billings...@gmail.com)'s article > On Thu, Jul 30, 2009 at 9:35 PM, zsxxsz wrote: > > Hi, below are the functions from Phobos and Tango with the same use, we can > > see why so many people like Tango more than Phobos. > Uh, who ex

We can see the performance difference from the simple functions in Tango and Phobos

2009-07-30 Thread zsxxsz
Hi, below are the functions from Phobos and Tango with the same use, we can see why so many people like Tango more than Phobos. >>> In Phobos: string encode(string s) { // The ifs are (temprarily, we hope) necessary, because // std.string.write.replace // does not do copy-on-write, bu

Re: __FUNCTION__ implemented with mixins and mangles

2009-06-14 Thread zsxxsz
== Quote from Robert Fraser (fraseroftheni...@gmail.com)'s article > Ary Borenszweig wrote: > > zsxxsz escribió: > >> == Quote from Jarrett Billingsley (jarrett.billings...@gmail.com)'s > >> article > >>> On Sat, Jun 13, 2009 at 9:46 PM, zsxxsz

Re: __FUNCTION__ implemented with mixins and mangles

2009-06-14 Thread zsxxsz
== Quote from Jarrett Billingsley (jarrett.billings...@gmail.com)'s article > On Sat, Jun 13, 2009 at 9:46 PM, zsxxsz wrote: > > It's good. But I think it should be implement by the DMD compiler, just l > ike > > __FILE__  and __LINE__. __FUNCTION__ should be the base

Re: __FUNCTION__ implemented with mixins and mangles

2009-06-13 Thread zsxxsz
It's good. But I think it should be implement by the DMD compiler, just like __FILE__ and __LINE__. __FUNCTION__ should be the base D language syntax same as __FILE__, __LINE__, in C99, they're all the compiler's things to get these and the compiler do these more easily than any library.

when will D2 be stable?

2009-05-08 Thread zsxxsz
I found D is a wonderful programming language and start to use it in my projects. I use D2 now, but which is still unstable although it's version is D2.029. Can anyone tell me when D2 will be stable? Although D's using rate suffers sharp fall(shown in tiobe), I'll still believe that D will be bette