3 ms·
This seems to have almost the exact same feature set and use-case as Lua. How does it compare in performance? I doubt it can be faster than Lua 5.5
by 90s_dev 1y ago
This seems to have almost the exact same feature set and use-case as Lua. How does it compare in performance? I doubt it can be faster than Lua 5.5
- 90s_dev 1y agoOh, they say it was inspired by Lua. So it's more like Wren I guess, but probably less performant than Wren too[1]. And less powerful than Lua since Lua metatables are half magic half genius. Still, I'd like to see a benchmark like this. [1] https://wren.io/performance.html https://wren.io/performance.html
- sampullman 1y agoIt advertises interpreter size and RAM requirements front and center on the homepage, so I assume that's the main draw. I'm not super familiar with embedded Lua but I believe it to require at least an order of magnitude more RAM and codespace than this, even without float support. For my money, Berry is still a bit heavy. On a cheap M0 I'd rather have something with about half the required memory.
- 90s_dev 1y ago> The Berry interpreter-core's code size is less than 40KiB and can run on less than 4KiB heap I did not see that on the front page. Thanks for pointing it out. My mind shut down about 49 days ago.
- jonaias 1y agoUsing Lua for embedded scripting is a delight