LuaJIT: Difference between revisions
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
| valign="top"| | | valign="top"| | ||
<source lang="bash"> | <source lang="bash"> | ||
luarocks install moonrocks | |||
luarocks install lua-json | luarocks install lua-json | ||
luarocks install luaunit | |||
</source> | </source> | ||
Line 59: | Line 62: | ||
| 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://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://github.com/luarocks/luarocks/wiki/Download#installing LuaJIT » LuaRocks » Install] | ||
* [https://luarocks.org/ LuaJIT » LuaRocks] | |||
|- | |- | ||
Line 66: | Line 71: | ||
|- | |- | ||
| valign="top" | | | valign="top" | | ||
* [https://pkg.go.dev/github.com/toophy/gopher-lua GopherLua] | |||
* [[Homebrew]] | * [[Homebrew]] | ||
* [[HTTPie]] | * [[HTTPie]] | ||
Line 71: | Line 77: | ||
* [[Locust]] | * [[Locust]] | ||
* [[Wrk]] | * [[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
| ||