Re: Interview with InformIT part 3/3

2010-08-30 Thread Vladimir Panteleev
On Thu, 26 Aug 2010 02:14:49 +0300, Andrei Alexandrescu wrote: Yes. Getting Thrift and Protocol Buffers bindings for D is quite important at this time. According to http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns , it looks like something already exists for D and protobuf: http

Re: Interview with InformIT part 3/3

2010-08-26 Thread Jacob Carlborg
On 2010-08-25 14:20, Andrei Alexandrescu wrote: http://www.informit.com/articles/article.aspx?p=1623791 Andrei Dynamic libraries have been possible on Mac OS X now for several months using Tango and I'm just waiting for the same patch to be applied to druntime. http://d.puremagic.com/issues/

Re: Interview with InformIT part 3/3

2010-08-25 Thread Andrei Alexandrescu
On 8/25/10 13:08 PDT, Nick Sabalausky wrote: "Andrei Alexandrescu" wrote in message news:i531qe$9...@digitalmars.com... http://www.informit.com/articles/article.aspx?p=1623791 From a breif browse through that Thrift page you linked to, I take it Thrift is basically Facebook's version of Goo

Re: Interview with InformIT part 3/3

2010-08-25 Thread Nick Sabalausky
"Andrei Alexandrescu" wrote in message news:i531qe$9...@digitalmars.com... > http://www.informit.com/articles/article.aspx?p=1623791 > >From a breif browse through that Thrift page you linked to, I take it Thrift is basically Facebook's version of Google's Protocol Buffers ( http://code.google

Re: Interview with InformIT part 3/3

2010-08-25 Thread Trass3r
My impression from following the newsgroup was that no alternative compiler was even close to compiling D2. The LDC D2 status page says: "D2 support is a stub and very experimental. Anyone interested to improve it (or LDC in general) is highly welcome." The last News item on the GDC page is

Re: Interview with InformIT part 3/3

2010-08-25 Thread Jeff Nowakowski
On 08/25/2010 08:20 AM, Andrei Alexandrescu wrote: http://www.informit.com/articles/article.aspx?p=1623791 Is this part true? "All projects I mentioned [LDC, GDC] use the open-sourced reference front end to implement both D1 and D2, and trail behind the reference compiler by a few minor rele

Re: Interview with InformIT part 3/3

2010-08-25 Thread Andrei Alexandrescu
On 8/25/10 7:38 PDT, Denis Koroskin wrote: Andrei Alexandrescu Wrote: http://www.informit.com/articles/article.aspx?p=1623791 Andrei A very enjoyable read (all 4 parts), thanks for a great interview! One thing I'd like to add is that there is a DDL (D Dynamic Linking) project and its deriv

Re: Interview with InformIT part 3/3

2010-08-25 Thread Denis Koroskin
Andrei Alexandrescu Wrote: > http://www.informit.com/articles/article.aspx?p=1623791 > > Andrei A very enjoyable read (all 4 parts), thanks for a great interview! One thing I'd like to add is that there is a DDL (D Dynamic Linking) project and its derivatives (e.g. xf.Linker: http://h3.gd/devl

Interview with InformIT part 3/3

2010-08-25 Thread Andrei Alexandrescu
http://www.informit.com/articles/article.aspx?p=1623791 Andrei

Re: Interview with InformIT part 2/3

2010-08-19 Thread Leandro Lucarella
Walter Bright, el 19 de agosto a las 13:08 me escribiste: > Leandro Lucarella wrote: > >With the precise heap scanning patch for DMD the GC can automatically > >pin memory, because it has enough information to differentiate between > >real pointers and words which types are not really known, so a b

Re: Interview with InformIT part 2/3

2010-08-19 Thread Walter Bright
Leandro Lucarella wrote: With the precise heap scanning patch for DMD the GC can automatically pin memory, because it has enough information to differentiate between real pointers and words which types are not really known, so a block can be moved *only* if is only pointed to by real pointers, ot

Re: Interview with InformIT part 2/3

2010-08-19 Thread Leandro Lucarella
Walter Bright, el 18 de agosto a las 15:31 me escribiste: > bearophile wrote: > >Walter Bright: > > > >>There is no need for a pin attribute, the gc can determine if a class needs > >> pinning or not. > > > >The same is probably true for pure functions too, the compiler can determine > >what functi

Re: Interview with InformIT part 2/3

2010-08-19 Thread Leandro Lucarella
Walter Bright, el 18 de agosto a las 12:25 me escribiste: > Leandro Lucarella wrote: > >Walter Bright, el 18 de agosto a las 10:08 me escribiste: > >>bearophile wrote: > >>>Currently in the D2 GC there is no notion of pinned/unpinned class > >>>instances, > >>>but eventually an attribute as @pinne

Re: Interview with InformIT part 2/3

2010-08-19 Thread ponce
> In the meantime that Reddit thread is one of the worst I've seen on that > usually interesting site. Some C++ programmers seem to hate D a lot. In my experience, convincing someone who have personally invested a lot in C++ is _hard_. People who care about big teams are not convinced at all by

Re: Interview with InformIT part 2/3

2010-08-18 Thread Nick Sabalausky
"Walter Bright" wrote in message news:i4hvjh$91...@digitalmars.com... > > Being forced to use something doesn't make that thing a success. > Unfortunately, I can think of a lot of counterexamples (any monopoly or oligopoly, for instance). But I agree in spirit :)

Re: Interview with InformIT part 2/3

2010-08-18 Thread Walter Bright
bearophile wrote: Walter Bright: Microsoft's managed C++ on .net comes with multiple pointer types - managed and unmanaged pointers - as far as I know, this was a technical success yet a massive failure with users. How do you define failure? Nobody wanted to use it. Maybe for D2 multiple

Re: Interview with InformIT part 2/3

2010-08-18 Thread bearophile
Walter Bright: > Microsoft's managed C++ on .net comes with multiple pointer types - managed > and > unmanaged pointers - as far as I know, this was a technical success yet a > massive failure with users. How do you define failure? Maybe for D2 multiple pointer types are a failure as you say,

Re: Interview with InformIT part 2/3

2010-08-18 Thread Walter Bright
bearophile wrote: Walter Bright: The other problem with a pinned/notpinned object is the object itself cannot control who or how someone is pointing to it. The type system may tell apart three kinds of pointers/references: 1) hand-managed pointers, to GC memory or C heap memory; 2) GC-managed

Re: Interview with InformIT part 2/3

2010-08-18 Thread bearophile
Walter Bright: > The other problem with a pinned/notpinned object is the object itself cannot > control who or how someone is pointing to it. The type system may tell apart three kinds of pointers/references: 1) hand-managed pointers, to GC memory or C heap memory; 2) GC-managed pointers to pinne

Re: Interview with InformIT part 2/3

2010-08-18 Thread Walter Bright
bearophile wrote: Walter Bright: There is no need for a pin attribute, the gc can determine if a class needs pinning or not. The same is probably true for pure functions too, the compiler can determine what functions are pure and what are not pure. But the purpose of a @pinned is that: 1) T

Re: Interview with InformIT part 2/3

2010-08-18 Thread bearophile
Walter Bright: > There is no need for a pin attribute, the gc can determine if a class needs > pinning or not. The same is probably true for pure functions too, the compiler can determine what functions are pure and what are not pure. But the purpose of a @pinned is that: 1) The default become

Re: Interview with InformIT part 2/3

2010-08-18 Thread Nick Sabalausky
"bearophile" wrote in message news:i4h3hf$31e...@digitalmars.com... > > In the meantime that Reddit thread is one of the worst I've seen on that > usually interesting site. That seemed to mainly just be that one guy (the one that kept making a bunch of absurd and self-contradictory statements)

Re: Interview with InformIT part 2/3

2010-08-18 Thread Andrej Mitrovic
Andrei Alexandrescu Wrote: > http://www.informit.com/articles/article.aspx?p=1622265 > > Andrei I see you've mentioned the library function move() in the interview. I might have found an issue with move(), unless I missunderstood how it works. See my post here: http://news.gmane.org/gmane.com

Re: Interview with InformIT part 2/3

2010-08-18 Thread Andrei Alexandrescu
On 08/18/2010 11:59 AM, bearophile wrote: Andrei Alexandrescu: http://www.reddit.com/r/programming/comments/d2j8n/d_programming_language_interview_with_andrei/ I will need time to digest this interesting second part of your interview, you say many complex things. In the meantime that Reddi

Re: Interview with InformIT part 2/3

2010-08-18 Thread Walter Bright
Leandro Lucarella wrote: Walter Bright, el 18 de agosto a las 10:08 me escribiste: bearophile wrote: Currently in the D2 GC there is no notion of pinned/unpinned class instances, but eventually an attribute as @pinned may be added to D3, plus its related semantics. It adds complexity to the lan

Re: Interview with InformIT part 2/3

2010-08-18 Thread Leandro Lucarella
Walter Bright, el 18 de agosto a las 10:08 me escribiste: > bearophile wrote: > >Currently in the D2 GC there is no notion of pinned/unpinned class instances, > >but eventually an attribute as @pinned may be added to D3, plus its related > >semantics. It adds complexity to the language and it needs

Re: Interview with InformIT part 2/3

2010-08-18 Thread Jonathan M Davis
On Wednesday, August 18, 2010 09:59:27 bearophile wrote: > Andrei Alexandrescu: > > http://www.reddit.com/r/programming/comments/d2j8n/d_programming_language > > _interview_with_andrei/ > > I will need time to digest this interesting second part of your interview, > you say many complex things. >

Re: Interview with InformIT part 2/3

2010-08-18 Thread Michel Fortin
On 2010-08-18 06:13:25 -0400, Andrei Alexandrescu said: http://www.informit.com/articles/article.aspx?p=1622265 Andrei Quoting: """ The most difficult scenario here is a class that has a struct as a member. If the struct has a destructor, it will be run non-deterministically—or possibly n

Re: Interview with InformIT part 2/3

2010-08-18 Thread Walter Bright
bearophile wrote: Currently in the D2 GC there is no notion of pinned/unpinned class instances, but eventually an attribute as @pinned may be added to D3, plus its related semantics. It adds complexity to the language and it needs to interact with the GC, so it will get useful as the D GC becomes

Re: Interview with InformIT part 2/3

2010-08-18 Thread bearophile
Andrei Alexandrescu: > http://www.reddit.com/r/programming/comments/d2j8n/d_programming_language_interview_with_andrei/ I will need time to digest this interesting second part of your interview, you say many complex things. In the meantime that Reddit thread is one of the worst I've seen on that

Re: Interview with InformIT part 2/3

2010-08-18 Thread Andrei Alexandrescu
On 08/18/2010 06:46 AM, Vladimir Panteleev wrote: On Wed, 18 Aug 2010 13:13:25 +0300, Andrei Alexandrescu wrote: http://www.informit.com/articles/article.aspx?p=1622265 Thanks, that was an interesting read. It's possible that I'm missing something, but I think that C++'s default constructor

Re: Interview with InformIT part 2/3

2010-08-18 Thread Vladimir Panteleev
On Wed, 18 Aug 2010 13:13:25 +0300, Andrei Alexandrescu wrote: http://www.informit.com/articles/article.aspx?p=1622265 Thanks, that was an interesting read. It's possible that I'm missing something, but I think that C++'s default constructors + reference-type structs/classes allow a patt

Re: Interview with InformIT part 2/3

2010-08-18 Thread Andrei Alexandrescu
On 08/18/2010 05:13 AM, Andrei Alexandrescu wrote: http://www.informit.com/articles/article.aspx?p=1622265 Andrei Now on reddit: http://www.reddit.com/r/programming/comments/d2j8n/d_programming_language_interview_with_andrei/ Thanks davebrk! Andrei

Interview with InformIT part 2/3

2010-08-18 Thread Andrei Alexandrescu
http://www.informit.com/articles/article.aspx?p=1622265 Andrei

Re: Interview with InformIT

2010-08-12 Thread Andrei Alexandrescu
On 08/11/2010 12:23 PM, Walter Bright wrote: Andrei Alexandrescu wrote: Eric Niebler interviewed me for the InformIT online magazine. Here is the first part of three: http://www.informit.com/articles/article.aspx?p=1621867 On Hacker News: http://news.ycombinator.com/item?id=1595323 Now di

Re: Interview with InformIT

2010-08-11 Thread Walter Bright
Andrei Alexandrescu wrote: Eric Niebler interviewed me for the InformIT online magazine. Here is the first part of three: http://www.informit.com/articles/article.aspx?p=1621867 On Hacker News: http://news.ycombinator.com/item?id=1595323

Re: Interview with InformIT

2010-08-11 Thread David Gileadi
On 8/11/10 9:11 AM, Andrei Alexandrescu wrote: Eric Niebler interviewed me for the InformIT online magazine. Here is the first part of three: http://www.informit.com/articles/article.aspx?p=1621867 Andrei Great read, worth pointing friends to. Please be sure to post links to the 2nd and 3r

Interview with InformIT

2010-08-11 Thread Andrei Alexandrescu
Eric Niebler interviewed me for the InformIT online magazine. Here is the first part of three: http://www.informit.com/articles/article.aspx?p=1621867 Andrei