react-use-c
react-use-c copied to clipboard
Consider caching binaries
Currently the binary is compiled for each request that is not efficient way to use compiled language as C
.
To bring true performance of C
into React component the binaries can be compiled only once and the used directly.
This will reduce the overhead of compilation time and filesystem usage.
Inspired by your project we used similar approach for PHP: https://github.com/memegento/react-use-php
As PHP is interpreted language, we pass the source code directly to interpreter.