← Back to context

Comment by chaosprint

1 year ago

Here are two real-world examples of using Rhai:

https://glicol.org/tour#meta1

https://glicol.org/tour#meta2

I've embedded Rhai in Glicol to support sample-level audio synthesis, and the performance is [acceptable]. Real-time audio is very computationally intensive, after all.

I've tried various embedded scripting languages in Rust, but Rhai probably has the best documentation and playground.

For reference, see this survey:

https://www.boringcactus.com/2020/09/16/survey-of-rust-embed...

Recent Koto Lang also looks promising:

https://koto.dev/

Small comment, but why does the text editor show an "overwrite" indictor instead of a cursor indicator when I try to change something in the playground? https://i.imgur.com/OAXbXQ2.png

I tried typing different things, and despite showing an overwrite indicator it seems to be in a normal insert mode. I have no idea which side of the highlight my characters will be inserted on though.