D vs Rust

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 29 00:26:01 PST 2016


On Friday, 29 January 2016 at 08:23:38 UTC, Ola Fosheim Grøstad 
wrote:
> On Friday, 29 January 2016 at 07:01:07 UTC, Sönke Ludwig wrote:
>> Am 29.01.2016 um 00:18 schrieb Ola Foaheim Grøstad:
>>> D is closer to C++ style templating and OO, and currently 
>>> focus
>>> on enabling binding to non-template C++ libraries.
>>
>> Small correction: Should be "binding to template based C++ 
>> libraries" - non-template libraries have worked more or less 
>> for a while now.
>
> I was thinking of Walter's work on supporting C++ exceptions as 
> completing the effort to bind to non-templated libraries; 
> exceptions being the "return value" for failure.
>
> Is there an effort to support templated libraries? They are 
> often fully inlined and header-only?

It depends what you mean by templated. I believe the 
interoperability work is for the results of instantiated 
templates, not on the templates themselves.


More information about the Digitalmars-d mailing list