LuaJIT
nelua-lang
Our great sponsors
LuaJIT | nelua-lang | |
---|---|---|
39 | 31 | |
4,379 | 1,842 | |
2.1% | - | |
9.0 | 7.8 | |
about 1 month ago | 10 days ago | |
C | Lua | |
GNU General Public License v3.0 or later | MIT License |
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.
LuaJIT
-
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...
- LuaJIT 3.0 Issue Tracker
-
LuaJIT Uses Rolling Releases
I think https://github.com/LuaJIT/LuaJIT/commit/6a2163a6b45d6d251599... improved things a bit, notably making automatic tarballs work again.
-
How to clear a table without wasting memory?
There is nothing on luajit.org, so I assume that 2.0 doesn't have the extensions added (think the site is still on 2.0). However I found some proof in the mirrored git repo, that they do exist and also my luajit interpreter (2.1.0-beta3) shows them as builtins.
- Clone Mike Pall
- Which for loop method is faster
-
Recommendations for JS Engines that could be embedded in my Game Engine
If you absolutely want a performant scripting runtime, I'd recommend taking a look at LuaJit, DaScript or AngelScript.
-
Any embeddable language compatible with C (like Lua) but compiled?
If you don't like that - look towards JIT-compilers. Lua has one
nelua-lang
- Buzz: A lightweight statically typed scripting language
-
Lua has been a real eye opener for this Java dev
If you Like Lua's syntax and you wish you could achieve C speeds and have the metaprogramming ability of Java (Generics), by all means try https://nelua.io/ , you won't regret it!
- Minimal, simple, efficient, statically typed, compiled, metaprogrammable, safe, and extensible systems programming language
-
Pixelhopper: Tiny animated GIF player in C, with seeking, pause, etc (Linux x11 only, for now)
I should be uploading the code sometime this week, by the way. I'm looking for a way to bundle the code (which is written in Nelua) in a single C file, so anyone can build it without having to install all of the language and the dependencies.
- Using Lua with C++
-
Is it possible to make an OS in Lua?
You could probably write a kernel in Nelua or Luau, though I don't know of any efforts to do so.
- Bog – small, strongly typed, embeddable language
-
Nelua, AOT statically typed Lua
I already asked this question exactly 2 years ago: https://github.com/edubart/nelua-lang/discussions/51
- data types in function definition
What are some alternatives?
lua-languages - Languages that compile to Lua
terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
moonscript - :crescent_moon: A language that compiles to Lua
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.
godot-lua-pluginscript - Godot PluginScript for the Lua language, currently based on LuaJIT's FFI
luajit2 - OpenResty's Branch of LuaJIT 2
red - Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single ~1MB file!
ravi - Ravi is a dialect of Lua, featuring limited optional static typing, JIT and AOT compilers
language-lua - Lua parser and pretty-printer
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).