News for hackers. Stuff that matters.
Re:Scripting languages of the future by atweiden on Sunday November 07, 2021 @06:17PM (#29144539)
Tossing my hat in for Passerine [1]. Gorgeous ML inspired syntax. Written in Rust, and I suspect scripting Rust libraries is in the cards.

Dreaming here: Lua is a fantastic scripting language, but the Rust FFI isn’t as ergonomic as it could be. Enter Luster [2], which is basically LuaJIT rewritten in Rust.

Embedding a scripting language in a Rust application gives you tons of power (e.g. scripting Rust structs from Lua [3]), and setting this up isn’t terribly difficult.

[1]: https://github.com/vrtbl/passerine

[2]: https://github.com/kyren/luster

[3]: https://git.sr.ht/~ioiojo/kiwi

Re:Scripting languages of the future by slightknack on Monday November 08, 2021 @06:12AM (#29148130)
> Tossing my hat in for Passerine [1]. Gorgeous ML inspired syntax.

I work on Passerine, cool to see the language mentioned in the wild, glad you like it!

> Written in Rust, and I suspect scripting Rust libraries is in the cards.

We have a rudimentary FFI to Rust already in place. We're also working on a proc macro lib for creating high-level bindings to Rust types/functions/crates (currently unreleased). Also working on an algebraic-effect-based system-injection engine, which will replace the FFI in the 0.10.0 or 0.11.0 release :)

Re:Scripting languages of the future by xvilka on Sunday November 07, 2021 @07:24PM (#29144954)
Sadly, Luster project is either on hold or completely abandoned. I tried to use it, it's interesting concept but right now of no use at all.
Re:Scripting languages of the future by alilleybrinker on Sunday November 07, 2021 @11:13PM (#29146077)
For anyone interested in languages written in Rust, here’s a list: https://github.com/alilleybrinker/langs-in-rust