#module #react #native #write

jsi

Write React Native JSI modules in Rust

5 releases

0.3.0-alpha.5 Aug 22, 2023

#62 in #react

MIT license

8.5MB
182K SLoC

Java 76K SLoC // 0.2% comments C++ 55K SLoC // 0.1% comments Objective-C++ 24K SLoC // 0.1% comments Objective-C 13K SLoC // 0.1% comments Kotlin 7K SLoC // 0.2% comments Rust 3K SLoC // 0.0% comments JavaScript 3K SLoC // 0.1% comments GNU Style Assembly 630 SLoC // 0.5% comments Batch 138 SLoC Prolog 121 SLoC Shell 40 SLoC // 0.4% comments Xcode Config 1 SLoC // 0.9% comments

jsi-rs

This library makes it possible to write React Native JSI modules in Rust.

For an example, check out the example folder.

Contributing

I wrote this code in winter 2022 as part of another project. A few months later, I have decided to release it to the world. However, I'm not planning to maintain it unless I encounter another project that requires it, so for now, the code is given to you as-is. Feel free to contribute PRs that would improve the API or stability of the library.

Safety

Right now, this library is quite unsafe.

Copyright / license

Copyright Ibiyemi Abiodun. MIT License.

Dependencies