mlua icon indicating copy to clipboard operation
mlua copied to clipboard

Pluto integration?

Open linux-china opened this issue 2 years ago • 12 comments

Pluto is a superset of Lua 5.4 — with unique features, optimizations, and improvements. https://github.com/PlutoLang/Pluto

Any plan to integrate Pluto in mula?

[dependencies]
mlua = { version = "0.9", features = ["pluto", "vendored"] }

linux-china avatar Jan 05 '24 06:01 linux-china

Seems according to their comments, They still use the standard C apis to interact with Pluto. That means this shouldn't be too difficult to do. Is anyone planning to work on this integration?

JSH32 avatar Sep 08 '24 19:09 JSH32

(I may go and implement it myself if not)

JSH32 avatar Sep 08 '24 19:09 JSH32

@JSH32 UDF(user defined function) by Rust support too for Pluto?

linux-china avatar Sep 09 '24 00:09 linux-china

@JSH32 any news?

linux-china avatar Sep 24 '24 02:09 linux-china

Pluto integration would be nice!

justbyitself avatar Oct 10 '24 13:10 justbyitself

Would love to have pluto integrations!

ElhamAryanpur avatar Jan 29 '25 21:01 ElhamAryanpur

~Pluto support added (initial for now, will add sandboxing mode too)~. Reverted

khvzak avatar Mar 14 '25 11:03 khvzak

Unfortunately Pluto code quality is not ideal, first pass on CI failed with buffer overflow errors. Currently blocked by https://github.com/PlutoLang/Pluto/pull/1121

khvzak avatar Mar 14 '25 22:03 khvzak

It seems like the PR was merged

ElhamAryanpur avatar Apr 28 '25 11:04 ElhamAryanpur

@khvzak this feature reverted?

linux-china avatar Apr 28 '25 14:04 linux-china

We've just released Pluto 0.11.1 which has been a huge bug-fixing effort. Valgrind now runs through the entire test suite without any complaints.

Sainan avatar Jun 11 '25 11:06 Sainan

Hiya! I was wondering if there was any movement on this.

I considered trying to revert the revert and bringing it up to date with the latest Pluto, but the change seemed somewhat substantial, and I wasn't sure how much work would be involved to bring it up to date. If mlua's main hasn't diverged too much since then, I'd be happy to give it a try.

philpax avatar Aug 31 '25 22:08 philpax