fengari
rlua
Our great sponsors
fengari | rlua | |
---|---|---|
24 | 13 | |
1,765 | 1,676 | |
1.4% | 1.1% | |
0.0 | 8.2 | |
12 months ago | 3 months ago | |
JavaScript | Rust | |
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.
fengari
-
Lua: The Little Language That Could
it should be possible, the article mentions https://fengari.io/ (a Lua VM written in JavaScript)
-
OmG jAVaScRiPt InSeCuRe. LuA bETtEr.
Check out Fengari or Lapis. Fun fact: itch.io is written primarily in Lua, and started by the same person who made Lapis and MoonScript.
-
Lua is the fourth-fastest growing language on GitHub
I was real excited to see these recently... have you tried any? https://fengari.io/ is the one I was most intrigued by.
-
How to embed lua in a JS webapp?
Hello, there is also fengari: https://fengari.io/
-
PyScript
Other languages have done that :)
Lua in the browser: https://fengari.io/
And then you can use that to run Fennel, a Lisp that compiles to Lua https://fennel-lang.org/
I think TypeScript also has a script you can include that lets you put your TS code in a special script tag, and it gets compiled in-browser.
-
Intro to PyScript: Run Python in your web browser
just use lua, it’s what should have been used for web scripting anyways
-
Upcoming interview with Roberto Ierusalimschy
Please stop this stuck in the mud nonsense. Anyone stumbling upon lua.org might think the project is dead already. The material is great, close to the best, but its presentation is pure shite. Not mobile friendly (what kinds of device do you think the majority of people in the Global South use?). We live in a world of code highlighting, none of that in PiL. We live in a world where Fengari allows Lua to run in the browser, does that make an appearance on lua.org, allowing users to immediately play with the language? Of course not! It's almost as if the Lua team is trying to push away potential users.
-
A First Look at PyScript: Python in the Web Browser – Real Python
why not use lua
-
I really like to think of PyScript as the “Minecraft of software development”
Just use lua https://fengari.io/
-
What can I create with Lua?
Definitely the most surprising use-case for Lua that I've seen is http://lua.space/webdev/why-we-rewrote-lua-in-js which discusses https://fengari.io/.
rlua
-
Rust and Lua api
There's the rlua package for running lua in your rust app: https://github.com/amethyst/rlua
-
What is your favourite Rust specific feature that you miss in other languages?
Some sys crates do embed the source files, like rlua for example.
- Hey Rustaceans! Got an easy question? Ask here (9/2022)!
-
Lua: Good, Bad, and Ugly Parts
[1] - https://github.com/amethyst/rlua/blob/master/examples/guided_tour.rs
-
I hate automod and have a question
Yes though, given that a CCleaner/BleachBit-style situation is going to be I/O-bound, I'd probably go with rlua, PyO3, or rust-cpython for plugins.
-
Ketos: Lisp dialect scripting and extension language for Rust programs
I wrote up some rust low-level bindings for guile [1]. The problem is that Guile liberally uses setjmp/longjmp, which breaks rust destructors. It might be possible to fix this by wrapping every call the way rlua does [2], but I'm not familiar enough with Guile to know.
1: https://github.com/ysimonson/guile-sys
2: https://github.com/amethyst/rlua/issues/21
-
Rust's interface to the Lua programming language is called 'mlua'. not Lust. This should get fixed.
And.. another binding finally called rlua https://github.com/amethyst/rlua
-
Does rust have function works like eval?
hlua or rlua are what you want for Lua, rust-cpython or PyO3 for Python, rutie for Ruby, and possibly deno_core for JavaScript.
- Embedding Lisp in C++ – A Recipe
-
I open sourced a game I just released on Steam, written in Lua
Janet is what introduced me to Fennel. Conjure [1] sold me on Fennel over Janet. The Neovim community is rallying around Lua.
(And in fact, what sold me on Rust was its truly excellent Lua FFI support [2].)
[1]: https://github.com/Olical/conjure
[2]: https://github.com/amethyst/rlua
What are some alternatives?
pypyjs - PyPy compiled to JavaScript
mlua
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
hlua - Rust library to interface with Lua
emscripten - Emscripten: An LLVM-to-WebAssembly Compiler
janet - A dynamic language and bytecode vm
lunatic - Lunatic is an Erlang-inspired runtime for WebAssembly
kaboom.js - 💥 JavaScript game library
wasm-libxml2 - A quick experiment to build and run libxml2 as a WebAssembly module.
bincode - A binary encoder / decoder implementation in Rust.
lua-cmake - Embed lua with CMake
msgpack-rust - MessagePack implementation for Rust / msgpack.org[Rust]