3 ms·
I put the pure math codes in C extension of PHP. Building C extension for PHP is easier than most of the other high level languages. And then things get blazing
by habibur 3y ago
I put the pure math codes in C extension of PHP. Building C extension for PHP is easier than most of the other high level languages. And then things get blazingly fast.
- brrrrrm 3y agodoesn't look that easy... zend_parse_parameters? pre-baked configure + make scripts? check out how a modern language deals with this stuff https://bun.sh/docs/api/ffi#usage https://bun.sh/docs/api/ffi#usage
- rafark 3y agoCheckout what? PHP also has support for FFI. Or am I missing something?