D is the language I really, really want to use.  Last I checked (maybe 6
months ago? 12?) it still lacked basic facilities like a visual debugger and
so on.  Furthermore, the standard libraries seemed very scattered and
disorganized.

That said, the D language itself looks *solid*.  I was considering it for my
last project as well, but eventually stuck with C++ because the D toolset
just didn't seem up to snuff (and wasn't making much forward progress).

But again, that was a while back.  I'd absolutely love to be wrong.

-david

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:p2p-hackers-
> [EMAIL PROTECTED] On Behalf Of Yang
> Sent: Friday, November 10, 2006 11:55 AM
> To: [email protected]
> Subject: Re: [p2p-hackers] Cross-platform development
> 
> Has anyone looked into the D programming language? From afar, it looks
> "nice" - it seems well-suited for systems programming, like a
> substantially-cleaned-up C++ or a Java that gives you more raw
> control. Digital Mars' D compiler also falls just under gcc's C
> compiler in the computer language shootout's CPU comparisons. I've
> never used it, though.
> 
> I'm currently considering using it for implementing a small
> distributed systems project. (The project is a rewrite where the
> original prototype was written with Python and Twisted, but was too
> slow, as it had to run on under-powered 386 devices, and we'd like to
> maximize throughput.) However, I wasn't able to find any solid
> asynchronous I/O libraries for it. Have people had any experience
> using D? What are your thoughts? Are there any ugly downsides to the
> language you'd want to point out (aside from the things that come with
> lower popularity, e.g. lack of community/code/support/tools)?
> 
> The other option I am considering is C++, with either ACE, libasync,
> or asio. I was wondering if anyone can offer (experience-based)
> comparisons of the three (or even any two of the three).
> 
> Thanks!
> 
> Yang
> 
> On 11/10/06, Alex Pankratov ap-at-hamachi.cc |p2p-hackers|
> <...> wrote:
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Darcy
> > > Sent: Friday, November 10, 2006 5:58 AM
> > > To: theory and practice of decentralized computer networks
> > > Subject: Re: [p2p-hackers] Cross-platform development
> > >
> > >
> > > > I'll write some file i/o support for Twisted to be
> > > non-blocking but I
> > > > still wonder about the following: does writing to a file ever block?
> > > Yes.  The data have to be written somewhere.  Depending on
> > > the OS this
> > > may be either the buffer or the page cache, but either way
> > > it's possible
> > > that a write could block waiting for a resource to become
> > > available.  A
> > > fair number of system hangs come down to this, actually,
> > > because it's a
> > > rare enough case that it's often not very well thought through or
> > > tested.  For this very reason, it's probably OK to pretend it doesn't
> > > happen.  When it does, it usually means the whole system's in
> > > pretty bad
> > > shape, and an unexpected pause in one application is probably
> > > the least
> > > of your worries.
> >
> > That's exactly the assumption Windows Explorer appears to make
> > and that is exactly why it hangs left and right when working
> > with shares that are mapped over laggy or lossy connections.
> > The system is in A-OK shape otherwise.
> >
> > Alex
> >
> > _______________________________________________
> > p2p-hackers mailing list
> > [email protected]
> > http://lists.zooko.com/mailman/listinfo/p2p-hackers
> >
> _______________________________________________
> p2p-hackers mailing list
> [email protected]
> http://lists.zooko.com/mailman/listinfo/p2p-hackers

_______________________________________________
p2p-hackers mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/p2p-hackers

Reply via email to