[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: multiple Lua versions in one host
- From: "Soni L." <fakedme@...>
- Date: Sat, 18 Feb 2017 13:04:45 -0200
On 18/02/17 12:49 PM, Viacheslav Usov wrote:
On Sat, Feb 18, 2017 at 3:24 PM, Soni L. <email@example.com
> On Windows it's trivial
I assume you meant shared Lua.
Any ideas about statically linked Lua?
I did not understand what you meant by "custom VM" and how that could
Any way I think about this, shared or static, it seems inevitable that
I would need to have some wrappers on top of or at least
version-decorated Lua API types and functions. And macros, because
they are heavily used. That seems rather messy to maintain even for
one Lua version, and for multiple it can become a problem in itself.
Any ideas here?
With shared it's trivial on windows and linux, altho there's no
cross-version communication. With a custom VM it's trivial everywhere
altho you won't be able to use C modules, but you do get cross-version
communication (a la `require "5.3".load('return require
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.