DMD 1.022 and 2.005 releases

Stewart Gordon smjg_1998 at yahoo.com
Fri Oct 5 15:51:49 PDT 2007


"Walter Bright" <newshound1 at digitalmars.com> wrote in message 
news:fe5vv7$s07$1 at digitalmars.com...
> Bug fixes. New (and very modest) C++ interface. Library module overhauls 
> by Andrei Alexandrescu. Brad Roberts is working behind the curtain to get 
> phobos development much better organized.
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.022.zip
>
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.005.zip

I've noticed a few things about cpp_interface.html:

1. `Strings are not 0 terminated in D. See "Data Type Compatibility" for 
more information about this. However, string literals in D are 0 
terminated.`

However, there's nothing specific about strings in the referenced section.

2. In Data Type Compatibility:

no equivalent   type &

Is ref type not the D equivalent of this?

3. How about making it so that D dynamic array parameters become, on the C++ 
side, two parameters: length and pointer?

Stewart.

-- 
My e-mail address is valid but not my primary mailbox.  Please keep replies 
on the 'group where everybody may benefit. 




More information about the Digitalmars-d-announce mailing list