infiWang / LJRV

gns' LuaJIT fork focused on RISC-V support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LJRV - LuaJIT RISC-V 64 Port

LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language, RISC-V is a free and open ISA enabling a new era of processor innovation.

Find latest LJRV release at plctlab/LuaJIT, branch riscv64-v2.1-branch or plctlab/LuaJIT, branch v2.1-riscv64. Development branch is avaliable at plctlab/LuaJIT, branch riscv.

This is the development patch branch of LJRV. We encourage you to use the latest release branch for production usage, unless you know what you are doing.

Introduction

LJRV is a ongoing porting project of LuaJIT to the RISC-V 64-bit architecture by PLCT Lab, ISCAS. The ultimate goal is to provide a RISC-V 64 LuaJIT implementation and have it upstreamed to the official LuaJIT repository.

Building and Packaging

LJRV is built and packaged in the same way as LuaJIT, requires a recent toolchain based on GCC or Clang with RISC-V 64 support and GNU Make. For building and installation instructions, please refer to the LuaJIT README.

For distro maintainers and packagers, we encourage one to follow our branch and patchset, as we would keep it up-to-date with the latest LuaJIT upstream. Cherry-picking and backporting is strongly discouraged, "no matter how self-standing individual changes look (because they often are not)".

Progress

  • Interpreter Runtime
  • JIT Compiler

LJRV is still considered of beta quality, take it with a grain of salt. For production usage, you might want to disable the JIT compiler during compilation by setting XCFLAGS+= -DLUAJIT_DISABLE_JIT in Makefile or environment variable.

Bug Report

Please report bugs to Issues.

Copyright

LuaJIT is Copyright (C) 2005-2023 Mike Pall. LuaJIT is free software, released under the MIT license. See full Copyright Notice in the COPYRIGHT file or in luajit.h.

LJRV is Copyright (C) 2022-2024 PLCT Lab, ISCAS. Contributed by gns. LJRV is free software, released under the MIT license. LJRV is part of RuyiSDK.

About

gns' LuaJIT fork focused on RISC-V support

License:Other


Languages

Language:C 81.6%Language:Lua 16.5%Language:Makefile 0.9%Language:Batchfile 0.9%Language:Roff 0.1%Language:C++ 0.0%