(no title)
gilgamesh3 | 9 months ago
I am trying to understand why would anyone prefer to use Lua to create script instead of Elixir, which supports running scripts. While Lua has lots of users the language just have too many wrong design choices. If I had the choice between Elixir and Lua for scripts I would use Elixir every time.
davydog187|9 months ago
Check out Anthony Accomazzo's post about Mini-Elixir, which does a great job breaking this down much further https://blog.sequinstream.com/why-we-built-mini-elixir/
prophesi|9 months ago
https://docs.tvlabs.ai/scripting/introduction/getting-starte...
rdtsc|9 months ago
Also, as the sibling post mentioned, in this case Lua is completely interpreted in an Erlang process. That allows a good amount of sandboxing, they have isolated heaps already and you can control memory limits and other resource usages, and all that in a relatively tiny footprint of a few KBs.
victorbjorklund|9 months ago
unknown|9 months ago
[deleted]