Re: Contract programming

2008-11-18 Thread Robert Fraser
bearophile wrote: Regarding the contract programming, there's this video (found with Lambda the Ultimate) of Contract Programming recently added to the dotnet (note there are WMA and MP4 versions of this video too, but they are hidden in this page, just before comments, under 'downloads'): htt

Re: typed vtable

2008-11-18 Thread Michel Fortin
On 2008-11-17 13:56:55 -0500, Harry Vennik <[EMAIL PROTECTED]> said: Hi, One of the things D claims is that it eliminates the need for IDL. And yeah, it does a lot in that direction, but I found something that's missing while trying to actually implement some sense of RPC... To get a good v

Re: typed vtable

2008-11-18 Thread Denis Koroskin
On Tue, 18 Nov 2008 17:17:36 +0300, Michel Fortin <[EMAIL PROTECTED]> wrote: On 2008-11-17 13:56:55 -0500, Harry Vennik <[EMAIL PROTECTED]> said: Hi, One of the things D claims is that it eliminates the need for IDL. And yeah, it does a lot in that direction, but I found something that's

Re: typed vtable

2008-11-18 Thread Jarrett Billingsley
On Tue, Nov 18, 2008 at 9:17 AM, Michel Fortin <[EMAIL PROTECTED]> wrote: > On 2008-11-17 13:56:55 -0500, Harry Vennik <[EMAIL PROTECTED]> said: > >> Hi, >> >> One of the things D claims is that it eliminates the need for IDL. And >> yeah, it does a lot in that direction, but I found something that

Re: typed vtable

2008-11-18 Thread Harry Vennik
Denis Koroskin Wrote: > On Tue, 18 Nov 2008 17:17:36 +0300, Michel Fortin > <[EMAIL PROTECTED]> wrote: > > > On 2008-11-17 13:56:55 -0500, Harry Vennik <[EMAIL PROTECTED]> said: > > > >> Hi, > >> One of the things D claims is that it eliminates the need for IDL. And > >> yeah, it does a lot

Weird template error

2008-11-18 Thread Brian
I get this (minor) error using dmd 1.036, I don't know if it's been discovered or not. test.d(20): Error: template foo!(int) is not a member of actor.world test.d(20): Error: function expected before (), not 0 of type int // And heres the code that causes it class World { public void foo

Re: enumerating member offsetofs via foreach over members-tuple

2008-11-18 Thread deadimp
Denis Koroskin Wrote: > On Fri, 14 Nov 2008 23:55:08 +0300, Denis Koroskin <[EMAIL PROTECTED]> > wrote: > > One more found, can anyone explain error message, please? Is it valid or > not? > > template Test() > { > void test() > { > foreach (m; this.tupleof) { >

Re: Weird template error

2008-11-18 Thread Jarrett Billingsley
On Wed, Nov 19, 2008 at 12:14 AM, Brian <[EMAIL PROTECTED]> wrote: > I get this (minor) error using dmd 1.036, I don't know if it's been > discovered or not. > > test.d(20): Error: template foo!(int) is not a member of actor.world > test.d(20): Error: function expected before (), not 0 of type int