Alex Orlenko
Alex Orlenko
I believe I found a good workaround, so memory limits will be supported for any Lua in v0.9
> The lua engine used (Luajit) claims to be [fully resumable](http://luajit.org/extensions.html), so it should be possible to yield across the language barriers The "fully resumable" term in this context relates...
> Is there a way I can maybe create a new Lua context from inside the app? I would like to be able to generate one You can try [`Lua::init_from_ptr(raw_state)`](https://docs.rs/mlua/latest/mlua/struct.Lua.html#method.init_from_ptr)...
You can make a Rust async call (function created using `Lua::create_async_function`) directly from neovim without blocking it. You need to have a (global) tokio runtime that you can enter inside...
Thanks for the detailed proposal! I don't have any objections to implement `FromLua` / `ToLua` derive macros. Moreover it's included to my plans for the stable 1.0 release! > I...
It's not a bug, this is how Lua works. Async execution happens in coroutines, and each coroutine need to have their own hook. Setting it in main Lua thread would...
> The only time I can think when you might need to move out of self when converting to a mlua::Value is when self contains a lua object in the...
> What I think is the best (DRYest) approach here, is adding a trait that allows returning converted `T` and a `usize` telling the outer scope how many arguments were...
There are some other possible ambiguities as well. mlua currently tells what argument (number) is wrong in a function call, eg. for a function `do_something(a: string, b: bool)` if call...
I'll take a look! What `x86_64-pc-windows-msvc` toolchain do you use?