rust reaction to walter's talk on interfacing to C++

Johan Engelen via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 22 04:05:28 PDT 2016


On Tuesday, 22 March 2016 at 11:00:44 UTC, Jonathan M Davis wrote:
> On Tuesday, 22 March 2016 at 08:52:23 UTC, Laeeth Isharc wrote:
>>     Rust has two advantages I can think of: it doesn't have 
>> the struct/class split that D does, and it has non-transitive 
>> *mut and *const (at least, I don't think they're transitive in 
>> Rust).
>
> That's funny. I would have said that those were _advantages_ 
> for D.
>[...], and I would have said that the struct/class split was a 
>huge win.

Shoot me down if unrelated and easily worked around:  MSVC 
mangles "struct" differently from "class". Perhaps the D split 
between struct/class makes it hard to represent this MSVC 
mangling? (without changing the C++ source)



More information about the Digitalmars-d mailing list