react-use-c icon indicating copy to clipboard operation
react-use-c copied to clipboard

Consider caching binaries

Open memegento-dev opened this issue 1 year ago • 2 comments

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.

memegento-dev avatar Oct 29 '23 08:10 memegento-dev