Hacker News new | ask | show | jobs
by ddevault 2612 days ago
>Which is of course bullshit since Rust allows you to provide a C ABI, hence creating language bindings is as simple as with C.

No, because C already uses the C ABI. You have to have a separate interface to your Rust code which uses the C ABI, and an uncomfortable transition point between C-land and Rust-land. This is definitely not as simple as it is with C.

1 comments

That wasn't your argument. Your argument was that other projects have a much easier time to create language bindings for wlroots if it's written in C and know your argument changed to: I have a much easier time to provide a C ABI if wlroots is written in C instead of Rust.