-
-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do Gleam support compiling to Rust? #3145
Comments
It does not, no. You could compile to JavaScript and embed a JS runtime in Rust though |
Is it planned to introduce compile to Rust? |
No, Rust is a very bad compile target, there would be no particular advantages. It would be especially bad for your use case, embedding a scripting language runtime would be much better as it's be easier to interop with and you could load code at runtime. |
I would love to compile to rust to be able to use the rust eco system as an FFI much like I can use the Erlang one. |
Compiling to Rust would not make it easier to use the Rust ecosystem than it already is today. |
You mean as a NIF? OK then nvm. |
Yes, you would need to write the same style of boilerplate even if we compiled to Rust |
I would use Gleam for Game Engine in Rust as script language.
The text was updated successfully, but these errors were encountered: