LuaJIT: Difference between revisions
Jump to navigation
Jump to search
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<source lang="bash"> | |||
# macos | |||
brew install luajit | |||
luajit --help | |||
# debian / ubuntu | |||
sudo apt install build-essential libssl-dev git -y | |||
git clone https://github.com/LuaJIT/LuaJIT.git && cd LuaJIT | |||
sudo make install && ls -lah /usr/local/bin|grep luajit | |||
sudo make clean | |||
luajit --help | |||
</source> | |||
==Playground== | |||
{| | |||
| valign="top"| | |||
<source lang="bash"> | |||
luarocks install moonrocks | |||
luarocks install lua-json | |||
luarocks install luaunit | |||
</source> | |||
| valign="top" | | |||
|- | |||
| colspan="2" | | |||
---- | |||
|- | |||
| valign="top" | | |||
| valign="top" | | |||
|} | |||
==References== | ==References== | ||
{| | {| | ||
Line 4: | Line 39: | ||
* [https://www.lua.org/manual/5.4/ LuaJIT » Lua » Reference Manual] | * [https://www.lua.org/manual/5.4/ LuaJIT » Lua » Reference Manual] | ||
* [https://www.lua.org/pil/ LuaJIT » Programming in Lua] | * [https://www.lua.org/pil/ LuaJIT » Programming in Lua] | ||
* [https://repo.or.cz/w/luajit-2.0.git LuaJIT » | * [https://repo.or.cz/w/luajit-2.0.git LuaJIT » SCM » Browsable] | ||
* [https://github.com/LuaJIT/LuaJIT LuaJIT » | * [https://www.lua.org/docs.html LuaJIT » Documentation] | ||
* [https://github.com/LuaJIT/LuaJIT LuaJIT » SCM » GitHub] | |||
* [https://formulae.brew.sh/formula/luajit LuaJIT » Homebrew] | |||
* [https://luajit.org/download.html LuaJIT » Download] | * [https://luajit.org/download.html LuaJIT » Download] | ||
* [https://gudzpoz.github.io/luajava/ LuaJIT » LuaJava] | |||
* [https://luajit.org/install.html LuaJIT » Install] | * [https://luajit.org/install.html LuaJIT » Install] | ||
* [https://luajit.org/luajit.html LuaJIT] | * [https://luajit.org/luajit.html LuaJIT] | ||
| valign="top" | | | valign="top" | | ||
* [https://www.linkedin.com/advice/1/what-pros-cons-using-c-vs-lua-game-scripting-skills-game-design LuaJIT » Pros and Cons of using C# vs Lua] | |||
* [https://www.lua.org/pil/contents.html LuaJIT » Programming in Lua » 1st Edition] | * [https://www.lua.org/pil/contents.html LuaJIT » Programming in Lua » 1st Edition] | ||
* [https://www.lua.org/pil/1.html LuaJIT » Lua » Getting Started] | * [https://www.lua.org/pil/1.html LuaJIT » Lua » Getting Started] | ||
* [https://www.lua.org/manual/5.4/manual.html LuaJIT » Lua » Basic Concepts] | * [https://www.lua.org/manual/5.4/manual.html LuaJIT » Lua » Basic Concepts] | ||
* [https:// | * [https://redis.io/docs/interact/programmability/eval-intro/ LuaJIT » Lua » Redis Scripting] | ||
* [https://github.com/wg/wrk/tree/master/scripts LuaJIT » Lua » Wrk » Scripts] | |||
* [https://www.linode.com/docs/guides/lua-vs-python/ LuaJIT » Lua vs Python] | |||
* [https://api7.ai/learning-center/openresty/luajit-vs-lua LuaJIT » Lua vs. LuaJIT] | |||
* [https://www.jdoodle.com/execute-lua-online/ LuaJIT » IDE » JDoodle] | |||
* [https://replit.com/ LuaJIT » IDE » Replit] | |||
| valign="top" | | | valign="top" | | ||
* [https://medium.com/@Games24x7Tech/running-atomicity-consistency-use-case-at-scale-using-lua-scripts-in-redis-372ebc23b58e LuaJIT » Lua » Running Atomicity Consistency] | |||
* [https://github.com/leafo/moonrocks LuaJIT » LuaRocks » MonoRocks] | |||
* [https://github.com/luarocks/luarocks/wiki/Download#installing LuaJIT » LuaRocks » Install] | |||
* [https://luarocks.org/ LuaJIT » LuaRocks] | |||
|- | |- | ||
Line 26: | Line 71: | ||
|- | |- | ||
| valign="top" | | | valign="top" | | ||
* [https://pkg.go.dev/github.com/toophy/gopher-lua GopherLua] | |||
* [[Homebrew]] | |||
* [[HTTPie]] | |||
* [[JQ Tool]] | |||
* [[Locust]] | |||
* [[Wrk]] | |||
* [[Lua]] | |||
| valign="top" | | | valign="top" | |
Latest revision as of 23:20, 31 January 2024
# macos
brew install luajit
luajit --help
# debian / ubuntu
sudo apt install build-essential libssl-dev git -y
git clone https://github.com/LuaJIT/LuaJIT.git && cd LuaJIT
sudo make install && ls -lah /usr/local/bin|grep luajit
sudo make clean
luajit --help
Playground
luarocks install moonrocks
luarocks install lua-json
luarocks install luaunit
|
|
| |
References
| ||