What ever happened to move semantics?
Dakota
dakota at gmail.com
Wed Feb 28 06:06:23 UTC 2024
On Tuesday, 27 February 2024 at 07:56:44 UTC, Max Samukha wrote:
> On Tuesday, 27 February 2024 at 07:20:46 UTC, Walter Bright
> wrote:
>
>> We do have a DIP on move semantics I wrote a while back:
>>
>> https://github.com/dlang/DIPs/blob/master/DIPs/DIP1040.md
>>
>> but other demands always seem to get in the way.
>
> ImportC was not a demand!
If you use D with betterC like c (not cpp), ImportC will work
very well.
If you want to use well maintained C library (some of them take
hundreds of thousands of manpower hours), you will need betterC.
And some library even write by cpp, still provide C interface for
easy integration with other language like: rust, ruby, lua, php,
java.
For me ImportC is more important than DIP1040, it open the doors
for very many possibilities.
More information about the Digitalmars-d
mailing list