64位系统能否执行32位Lua字节码?

2026-06-05 13:334阅读0评论SEO资讯
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计133个文字,预计阅读时间需要1分钟。

64位系统能否执行32位Lua字节码?

Lua编译的文件(32位*.luac文件)是否可以在64位系统上运行?+ 引用luac man page:The binary files created by luac are portable only among architectures with the same word size and byte order. 因此,答案是:不一定。

编译的Lua文件(32位* .luac文件)可以在64位系统上运行吗? 引用 luac man page:

The binary files created by luac are portable only among architectures with the same word size and byte order.

所以答案是否定的. (我还使用32位和64位计算机测试了这种确切情况.)您可以做的一件事是确保您的Lua解释器编译为32位(即使在64位计算机上),并且我相信Lua会接受它.

64位系统能否执行32位Lua字节码?

本文共计133个文字,预计阅读时间需要1分钟。

64位系统能否执行32位Lua字节码?

Lua编译的文件(32位*.luac文件)是否可以在64位系统上运行?+ 引用luac man page:The binary files created by luac are portable only among architectures with the same word size and byte order. 因此,答案是:不一定。

编译的Lua文件(32位* .luac文件)可以在64位系统上运行吗? 引用 luac man page:

The binary files created by luac are portable only among architectures with the same word size and byte order.

所以答案是否定的. (我还使用32位和64位计算机测试了这种确切情况.)您可以做的一件事是确保您的Lua解释器编译为32位(即使在64位计算机上),并且我相信Lua会接受它.

64位系统能否执行32位Lua字节码?