Thread overview
Search posts?
Aug 31, 2006
Sard
Sep 01, 2006
Bruno Medeiros
Sep 11, 2006
Walter Bright
Sep 01, 2006
BCS
August 31, 2006
Hello,

After learning some C++ and finding too much strange behaviour I stumbled upon D and am doing my best to learn it too.

Is there a D forum somewhere that can be easily searched?  Why are you using the newsgroup format.

The question I have is does D use early binding by default like C++, or late binding like Java (which makes more sense)?
August 31, 2006
"Sard" <sardaukary@yahoo.co.uk> wrote in message news:ed6j21$2ej1$1@digitaldaemon.com...
> Hello,
>
> After learning some C++ and finding too much strange behaviour I stumbled upon D and am doing my best to learn it too.
>
> Is there a D forum somewhere that can be easily searched?

There is a forum on www.dsource.org, but it's not very big at all.

> Why are you using the newsgroup format.

I ask myself the same question almost daily.  You can, however, search the newsgroup archives on www.digitalmars.com with google - they're not entirely up-to-date, but they're pretty close.

> The question I have is does D use early binding by default like C++, or late binding like Java (which makes more sense)?

I'm about 85% sure it uses early binding, since it's a statically compiled program (i.e. classes are not loaded at runtime like in Java).  I agree that a late-bound architecture would certainly be more flexible, but I'm not sure what performance and design impacts it would have on the internals of the language.


September 01, 2006
Jarrett Billingsley wrote:
> "Sard" <sardaukary@yahoo.co.uk> wrote in message news:ed6j21$2ej1$1@digitaldaemon.com...
>> Hello,
>>
>> After learning some C++ and finding too much strange behaviour I stumbled upon D and am doing my best to learn it too.
>>
>> Is there a D forum somewhere that can be easily searched?
> 
> There is a forum on www.dsource.org, but it's not very big at all.
> 
>> Why are you using the newsgroup format.
> 
> I ask myself the same question almost daily.  

For starters because it is a hierarchical thread system (as opposed to flat threads), and also because it allows rich clients to be used.

> 
>> The question I have is does D use early binding by default like C++, or late binding like Java (which makes more sense)?
> 
> I'm about 85% sure it uses early binding, since it's a statically compiled program (i.e. classes are not loaded at runtime like in Java).  I agree that a late-bound architecture would certainly be more flexible, but I'm not sure what performance and design impacts it would have on the internals of the language. 
> 

Late/early binding is usually mentioned in the context of method binding/calling, so as for that, D uses *late* binding by default (which are called virtual methods), and early binding as an option (non-virtual  or final methods).
I'm not sure Java's lazy loading of classes counts as late binding.

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
September 01, 2006
Sard wrote:
> 
> Is there a D forum somewhere that can be easily searched?  Why are you using the newsgroup format.
> 


emacs/vi, tom-ay-to/tom-ah-to

I don't use forums at all. Without it, I would most likely not be nearly so interested in D. I have asked the same question (in revers) of d-source.

Is there a D-source /newsgroup/ somewhere that can be easily /read by a client/?  Why are you using the /forum/ format.

September 01, 2006
"BCS" <BCS@pathlink.com> wrote in message news:ed9usj$2eb2$1@digitaldaemon.com...

> I don't use forums at all. Without it, I would most likely not be nearly so interested in D. I have asked the same question (in revers) of d-source.
>
> Is there a D-source /newsgroup/ somewhere that can be easily /read by a client/?  Why are you using the /forum/ format.
>

Are you always such a prick?


September 11, 2006
Bruno Medeiros wrote:
> Jarrett Billingsley wrote:
>> "Sard" <sardaukary@yahoo.co.uk> wrote in message news:ed6j21$2ej1$1@digitaldaemon.com...
>>> Is there a D forum somewhere that can be easily searched?
>>
>> There is a forum on www.dsource.org, but it's not very big at all.
>>
>>> Why are you using the newsgroup format.
>>
>> I ask myself the same question almost daily.  
> 
> For starters because it is a hierarchical thread system (as opposed to flat threads), and also because it allows rich clients to be used.

Another reason is that (for some reason!) it seems to be much more resistant to spamming robots, without needing registrations, captchas, and a constant arms race.