I'm new to React Native and the app I'm building needs to run some algorithms. Is there any way to run functions from a lower-level programming language inside the React app? I need this because the algorithms I'm running are really time-consuming and it would take way too much time to run it in JavaScript.
Is there any way I can run some C/C++ code from inside the App? Or are there any other programming languages that can be run from the app that is faster?
This is not a React-specific problem. You want to run native c/c++ logic inside a js/typescript program.
Either use assembly script (similar to typescript) or web assembly (convert native c/c++ to wasm which can be imported in any js/typescript environment).
https://www.youtube.com/watch?v=9lxnm9a-Yi8&ab_channel=Maniyar
https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm