mir
LuaJIT
mir | LuaJIT | |
---|---|---|
22 | 48 | |
2,294 | 4,669 | |
- | 1.4% | |
8.7 | 8.6 | |
about 1 month ago | 8 days ago | |
C | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mir
- A tiny self-remaking C program
- Mir (lightweight JIT) version 1.0.0
- QBE – Compiler Back End
-
Ravi is a dialect of Lua, with JIT and AOT compilers
MIR comes from the Rubyverse and isn't related to LLVM MLIR.
https://github.com/vnmakarov/mir?tab=readme-ov-file#mir
- Mir: Strongly typed IR to implement fast and lightweight interpreters and JITs
- Implementing Interactive Languages
- I developed a faster Ruby interpreter
-
Are Hoistings Possible for C++?
When you say a fork of LLVM, am I correct in assuming that you specifically mean a fork of Clang? I don't see how the compiler backend would affect support for language extensions, regardless of whether it's an exception to that such as Tcc, Cproc, the MIR C jitter, lacc, 8cc, 9cc, and chibicc. Most of those are not for production, excluding Cproc and Tcc (at least according to Suckless or Oasis).
-
Suggestion for a backend?
MIR
- Ask HN: Recommendation for general purpose JIT compiler
LuaJIT
-
Valve is testing ARM64 support for popular games
Indeed, LuaJIT support for Windows/Arm64 was added in https://github.com/LuaJIT/LuaJIT/issues/593, and there’s experimental out-of-tree support for Windows/Arm64EC in https://github.com/LuaJIT/LuaJIT/issues/1096
-
LuaJIT PR: Add Support for RISC-V 64
The issue linked in the sibling comment is the main one, but for a specific example them having reservations about a feature in more recent version, there's this:
https://github.com/LuaJIT/LuaJIT/issues/1013#issuecomment-16...
-
Twenty Years of Valgrind
> are suppression files ever actually used due to an actual false positive,
There used to be one in LuaJIT because it had an optimized string comparison that compared outside of the allocation (which is allowed by the OS as long as you don't cross a page boundary, which LuaJIT's allocation algorithm made sure it never did)
The suppression was removed in https://github.com/LuaJIT/LuaJIT/commit/ff34b48ddd6f2b3bdd26... when the string hashing got a new implementation
- Hackers Exploited a PC Driving SIM to Pull Off Disney Data Breach
-
Weird things I learned while writing an x86 emulator
For an implementation of logical immediate encoding without the loop, see https://github.com/LuaJIT/LuaJIT/blob/04dca7911ea255f37be799...
- What do I think about Lua after shipping a project with 60k lines of code?
-
On the impossibility of composing finalizers and FFI
Unfortunately things aren't so simple, as when doing JIT compilation, LuaJIT _will_ try to shorten the lifetimes of local variables. Using the latest available version of LuaJIT (https://github.com/LuaJIT/LuaJIT/commit/0d313b243194a0b8d239...), the following reliably fails for me:
local ffi = require"ffi"
-
Building a baseline JIT for Lua automatically
I am using https://luajit.org/ in my GCC C++ project.
Can I use this faster Lua JIT in my project as a replacement? And if so, how so?
The existing luajit doesn't do v5.1, so it would be nice to use this newer engine at the newer baseline lua version level.
-
Python 3.13 Gets a JIT
The commit history looks pretty active...
https://github.com/LuaJIT/LuaJIT/commits/v2.1/
- LuaJIT 3.0 Issue Tracker
What are some alternatives?
asmjit - Low-latency machine code generation
lua-languages - Languages that compile to Lua
Cwerg - The best C-like language that can be implemented in 10kLOC.
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
qbe-rs - QBE IR in natural Rust data structures
moonjit - Just-In-Time Compiler for the Lua Programming language. Fork of LuaJIT to continue development. This project does not have an active maintainer, see https://twitter.com/siddhesh_p/status/1308594269502885889?s=20 for more detail.
kcs - Scripting in C with JIT(x64)/VM.
luajit2 - OpenResty's Branch of LuaJIT 2
ecl
nelua-lang - Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code.
terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
ravi - Ravi is a dialect of Lua, featuring limited optional static typing, JIT and AOT compilers