Switching to another Programming Language ( to enhance safety )
knassar702 opened this issue · 0 comments
After conducting some real work on Lotus using Lua, I have come to the conclusion that Lua is not the best choice for improving Lotus version by version. Due to safety reasons, Lua crates are no longer as secure as they should be. Additionally, certain Rust types do not integrate well with Lua, even when using a wrapper such as the tealr crate. This creates limitations and requires additional time to make the types work with Rust.
I will be writing a detailed blog post on this topic soon with more information. In the meantime, Lotus will continue to use Lua until version 0.6. After that, we plan to remove Lua and switch to a Rust-based embedded language. We are currently considering Dyon as a good option.
However, before we make this switch, we need to track and address any errors that our users may face, as well as create a language server for the chosen language.