3 ms·
> my naive Rust was ~32% faster than my carefully implemented C. In all fairness... the "carefully implemented C" was all wrapped up as an external lib for the
by UncleEntity 8y ago
> my naive Rust was ~32% faster than my carefully implemented C.
In all fairness... the "carefully implemented C" was all wrapped up as an external lib for the node application they reimplemented so no having to convert values to/from js and deal with all that other stuff.
- clouddrover 8y agoI think for the purposes of the benchmark he ran the C and Rust binaries directly. So it really was C implementation vs Rust implementation.