Skip to content

plctlab/LuaJIT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 release patch branch of LJRV, containing patchset based on LJRV dev branch commit a092400da520 ("riscv(ffi): Unify Lua number to FFI integer conversions"), based off LuaJIT v2.1 rolling b973c6243d4a ("Fix MSVC LJ_CONSTF declaration.")

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.

Bug Report

Please report bugs to Issues.

Copyright

LuaJIT is Copyright (C) 2005-2025 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-2025 ISRC, ISCAS. Contributed by gns. LJRV is free software, released under the MIT license.

About

Porting LuaJIT to RISC-V 64

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 81.7%
  • Lua 16.4%
  • Other 1.9%