DMD 1.029 and 2.013 releases

Christopher Wright dhasenan at gmail.com
Thu Apr 24 06:46:06 PDT 2008


davidl wrote:
> 在 Thu, 24 Apr 2008 14:35:40 +0800,Walter Bright 
> <newshound1 at digitalmars.com> 写道:
> 
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars.com/dmd.1.029.zip
>>
>> This starts laying the foundation for multiprogramming support:
>>
>> http://www.digitalmars.com/d/2.0/changelog.html
>> http://ftp.digitalmars.com/dmd.2.013.zip
> 
> nice opDot feature in 2.0.
> 
> Though sometimes on windows, people need some unchecked opDot calling.

You mean, there are situations in which you want to be sure that you're 
using opDot and some in which you want to be sure you're not? The 
former, you can just write "foo.opDot.x", but not the latter.

I wonder how this works with overloads, too.

> Consider ActiveX stuff.
> 
> People are not always want to have to create their own bindings... 
> especially for some R&D test.
> 
> myActiveXObject.Some_Func_Can_be_Determinated_at_runtime();
> myActiveXObject.Some_Compile_Time_Unchecked_Var = 3;
> 
> with current opDot, we are still not able to do so.
> 
> Yet current opDot looks cleaner.
> 
> I feel it's kinda dilemma...

You mean, some sort of dynamic function call system? Like opDot(char[]) 
so you can do:
auto x = foo.bar; // calls foo.opDot("bar");


More information about the Digitalmars-d-announce mailing list