Interesting. It seems that Rust's bindgen (the magic that turns C libraries into Rust libraries) does translate constant #define macros, but not "function-like" macros that take arguments. So you will have a bad time trying to port a C library that uses a lot of those.
More info: https://github.com/rust-lang/rust-bindgen/issues/753
Use Rust async functions and methods in Swift, Kotlin and Python, https://github.com/mozilla/uniffi-rs/pull/1409.
It's ready! Large PR, sorry for the reviewers.
#RustLang #kotlin #SwiftLang #future #async #uniffi #bindgen
#rustlang #kotlin #swiftlang #future #async #uniffi #bindgen
Clarify[ing] the relationship [between] `wasm-bindgen` and `stdweb`, https://github.com/rustwasm/team/issues/226.
An excellent thread where authors of respective projects explain their visions. It opens on a potential collaboration.
#bindgen #rustlang #webassembly #wasm #web #javascript
`wasm-bindgen` 0.2.16 has been released, https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md#0216.
It includes a new crate: `wasm-bindgen-futures` for seamlessly converting between JavaScript Promises and Rust Futures!
#rustlang #wasm #webassembly #future #javascript #promise #bindgen
#rustlang #wasm #webassembly #future #javascript #promise #bindgen