I just wrote another post about perf benchmarking it against Mathematica proper-- https://www.spakhm.com/ts-wolfram-bench. Really surprised by the result, on the workload I tested Mathematica is only 2x faster than my barely optimized interpreter. A testament to the V8 engine, I didn't quite realize how ridiculously good V8 is until running this benchmark.
Hey, that's my project!
I just wrote another post about perf benchmarking it against Mathematica proper-- https://www.spakhm.com/ts-wolfram-bench. Really surprised by the result, on the workload I tested Mathematica is only 2x faster than my barely optimized interpreter. A testament to the V8 engine, I didn't quite realize how ridiculously good V8 is until running this benchmark.
> Certainly Mathematica’s term rewrite loop is optimized to death, and I only spent an hour or two making the most basic optimization
I suspect this benchmarks begint libraries more than term rewriting. A way to test that may be:
You can check that neither tool is smart enough to solve that to by comparing running times for different large limits.So tempted to try this myself in another language - just so I can call in ‘tungsten’.
Tungsten oxide - for one in Rust.