Looking for a Lua alternative
Siarhei Siamashka
siarhei.siamashka at gmail.com
Fri Dec 15 15:17:28 UTC 2023
On Friday, 15 December 2023 at 14:30:43 UTC, Sönke Ludwig wrote:
> I've used Squirrel as a LUA replacement about 20 years ago and
> liked it quite a bit. It's actually positively surprising that
> it is still (or again) receiving updates.
I also used Squirrel as a Lua replacement many years ago and also
liked it in general. It was nice to have a companion scripting
language with a C-style syntax for modding/extending the main C++
code. Unlike dealing with Lua, moving pieces of code between
Squirrel and C++ required only minimal modifications. But I
wasn't impressed with Squirrel's reliability and sandboxing
capabilities. For example, having deep recursion in Squirrel
could crash the host C++ application back then and I encountered
other gotchas.
Today I would also possibly consider https://mruby.org as a
possible Lua or Squirrel replacement. The security researchers
had a field trip thoroughly looking for security/reliability
problems in it: https://brandur.org/fragments/shopify-mruby
More information about the Digitalmars-d
mailing list