Benchmarks with the Tengo scripting language #253
mna
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I saw a mention about not seeing benchmarks, and I was curious how it would compare to Tengo, another Go scripting language based on a bytecode VM, so I created this little repo with some comparisons, nothing much but happy to add more of those if folks want to contribute to it: https://github.com/mna/bench_go_scripting
FWIW I feel it's comfortably in the "fast enough" category, and I really like risor's design and (from a quick look at the code) the possibility from Risor to call a Go func that calls a Risor func (that's how the
try
built-in is implemented, if I'm not mistaken), this checks a few boxes for me to use it in a project I have in mind. I also like how easy it is to expose a Go struct in Risor, though this being through reflection I expect this approach to be slower than the BuiltIn type. Still, nice to have those options available.Thanks and congrats for your work on Risor! Looking forward to use it more!
Martin
Beta Was this translation helpful? Give feedback.
All reactions