C and memory safety comments by me
bachmeier via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 19 06:55:14 PDT 2017
On Friday, 19 May 2017 at 13:45:04 UTC, Steven Schveighoffer
wrote:
> On 5/19/17 9:35 AM, Tobias Mueller wrote:
>
>> They do however say that the actual knowledge about Rust in
>> the D
>> community seems to be rather small, compared to the amount of
>> criticism
>> against it. And TBQH I have to agree. To criticize, you should
>> at least
>> have a basic understanding of it.
>
> The comments about Andrei saying Rust can't call into C or have
> C call back are quite harsh. Looking at Rust's ability to call
> C API, it seems they have a point -- it appears to be just like
> D in that you just declare an extern C function and can call it.
>
> Disclaimer: have never used Rust.
>
> -Steve
Yep. It's easy both to call C and to call Rust from other
languages.
http://rustbyexample.com/std_misc/ffi.html
http://zsiciarz.github.io/24daysofrust/book/vol1/day23.html
More information about the Digitalmars-d
mailing list