#bindgen — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #bindgen, aggregated by home.social.
-
Damn... Rust devs going crazy with these libraries.
⚒️ **sledgehammer_bindgen** 🦀
💥 Breaking the performance barrier of WASM/JS communication.
⚡ Faster Rust batched bindings for JS code.
⭐ GitHub: https://github.com/ealmloff/sledgehammer_bindgen
#rustlang #webassembly #wasm #javascript #performance #bindings #frontend #bindgen
-
Damn... Rust devs going crazy with these libraries.
⚒️ **sledgehammer_bindgen** 🦀
💥 Breaking the performance barrier of WASM/JS communication.
⚡ Faster Rust batched bindings for JS code.
⭐ GitHub: https://github.com/ealmloff/sledgehammer_bindgen
#rustlang #webassembly #wasm #javascript #performance #bindings #frontend #bindgen
-
It's now Yvan Sraka's @yvan turn! Presenting "Beyond proc-macros".
-
It's now Yvan Sraka's @yvan turn! Presenting "Beyond proc-macros".
-
question to all the #rustlang #FFI experts out there: Within a bigger C code base I like to replace some C code with Rust. I have a existing C header file describing the API and data types which I really don't like to touch. And it seems like this use-case is not really covered by bindgen or cbindgen.
#bindgen helps to generate Rust types, etc. from header files but assumes that your goal is to call from Rust into existing C code. All API functions are inside `extern` blocks.
-
question to all the #rustlang #FFI experts out there: Within a bigger C code base I like to replace some C code with Rust. I have a existing C header file describing the API and data types which I really don't like to touch. And it seems like this use-case is not really covered by bindgen or cbindgen.
#bindgen helps to generate Rust types, etc. from header files but assumes that your goal is to call from Rust into existing C code. All API functions are inside `extern` blocks.
-
We wrapped up our work on rust-bindgen and handed it over to its original maintainer @emilio. Thanks to Prossimo and Emilio for the trust they placed in us.
You can read about our major work and milestones achieved in Prossimo's blog post https://www.memorysafety.org/blog/automating-releases-bindgen/
-
We wrapped up our work on rust-bindgen and handed it over to its original maintainer @emilio. Thanks to Prossimo and Emilio for the trust they placed in us.
You can read about our major work and milestones achieved in Prossimo's blog post https://www.memorysafety.org/blog/automating-releases-bindgen/
-
There is also a blog post by Lars Bergstrom: https://security.googleblog.com/2024/02/improving-interoperability-between-rust-and-c.html There Lars mentions some of the cool #Rust crates that we've contributed to: #cxx, #autocxx, #bindgen, #cbindgen, #diplomat, and #crubit. Some of these projects are from #Google, others are open source projects that we use and contribute to.
-
There is also a blog post by Lars Bergstrom: https://security.googleblog.com/2024/02/improving-interoperability-between-rust-and-c.html There Lars mentions some of the cool #Rust crates that we've contributed to: #cxx, #autocxx, #bindgen, #cbindgen, #diplomat, and #crubit. Some of these projects are from #Google, others are open source projects that we use and contribute to.
-
Fixed a critical bug in **rust-bindgen**!
🐛 PR: https://github.com/rust-lang/rust-bindgen/pull/2678
🦀 **rust-bindgen**: Automatically generates Rust FFI bindings to C (and some C++) libraries.
⭐ GitHub: https://github.com/rust-lang/rust-bindgen
#rust #bindgen #c #cpp #ffi #bindings #opensource #contribution
-
Fixed a critical bug in **rust-bindgen**!
🐛 PR: https://github.com/rust-lang/rust-bindgen/pull/2678
🦀 **rust-bindgen**: Automatically generates Rust FFI bindings to C (and some C++) libraries.
⭐ GitHub: https://github.com/rust-lang/rust-bindgen
#rust #bindgen #c #cpp #ffi #bindings #opensource #contribution
-
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
-
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
-
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.
-
`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