[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Bundling/Wrapping lua
- From: David Sicilia <dpsicilia@...>
- Date: Sun, 7 Aug 2022 12:16:51 -0400
Technically yes, you need an interpreter to run Lua, so wherever you want to deploy your Lua program, there needs to be an interpreter there. But as to whether you must bundle a standalone interpreter (which I think is what your question might be asking?) depends on how/where you are deploying your Lua program. If you are distributing to users you could just tell them to install the right version of Lua first before they use your code; you don't necessarily have to bundle it yourself. If Lua is embedded into a larger program in another language, then that program will have the Lua interpreter linked into it statically.
Good evening y'all,
According to my Computer science teacher, interpreted languages such as Lua must be "bundled/wrapped with the interpreter" if you want to distribute the program such that it can be run on other devices that don't have lua installed.
1. Is he correct?
2. How exactly does one "bundle" or "wrap" lua with its interpreter?