Writing a Mathematica Interpreter in Typescript
30 points
4 days ago
| 2 comments
| spakhm.com
| HN
coffeemug
2 hours ago
[-]
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.

reply
samlittlewood
1 hour ago
[-]
So tempted to try this myself in another language - just so I can call in ‘tungsten’.
reply