5 ms·
Another programming language that is implemented in Rust is Gleam[1]. I think it's a really slick language, but it doesn't implement GC or it's own VM but is mo
by rockwotj 5y ago
Another programming language that is implemented in Rust is Gleam[1]. I think it's a really slick language, but it doesn't implement GC or it's own VM but is more of a source to source transpiler.
[1]: https://github.com/gleam-lang/gleam https://github.com/gleam-lang/gleam
- cercatrova 4y agoSo Gleam moved to Rust, interesting. I remember it was supposed to be a type safe language for Erlang, because while Elixir exists, it's not type safe, one of the main reasons I didn't start using Elixir, much as I like the Erlang philosophy.
- mkishi 4y agoIt still targets Erlang—but the compiler's written in Rust (from the first v0.1 release in 2019).
- the_duke 4y agoIt also targets JavaScript now, and maybe eventually Webassembly.
- rockwotj 4y agoTracking issue for native code is here: https://github.com/gleam-lang/gleam/issues/109 https://github.com/gleam-lang/gleam/issues/109 unlikely they will directly compile to WASM. A similar language to gleam built on WASM is grain: https://github.com/grain-lang/grain https://github.com/grain-lang/grain
- IshKebab 4y agoRhai and Gluon are the other two big ones. I've used Rhai for a configuration system and it was pretty good. Very very easy to integrate. Unfortunately it is also dynamically typed and doesn't support type annotations yet, but I reckon they'll add that eventually. Gluon is statically typed but it's also functional and a bit weird.
- alilleybrinker 4y agoFor a longer list of languages written in Rust, see https://github.com/alilleybrinker/langs-in-rust https://github.com/alilleybrinker/langs-in-rust