3 ms·
Here are two real-world examples of using Rhai: https://glicol.org/tour#meta1 https://glicol.org/tour#meta1 https://glicol.org/tour#meta2 https://glicol.org/t
by chaosprint 2y ago
Here are two real-world examples of using Rhai:
https://glicol.org/tour#meta1 https://glicol.org/tour#meta1
https://glicol.org/tour#meta2 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-embeddable-scripting-languages.html https://www.boringcactus.com/2020/09/16/survey-of-rust-embed...
Recent Koto Lang also looks promising:
https://koto.dev/ https://koto.dev/
- bhaney 2y agoAnother example using Rhai that was posted here a week or two ago: this (in-browser) 3D modeling software using Fidget. https://www.mattkeeter.com/projects/fidget/demo/ https://www.mattkeeter.com/projects/fidget/demo/
- figomore 2y agoOther embedded scripting language is Steel [1]. It’s being considered to be used in Helix [2]. [1] https://github.com/mattwparas/steel https://github.com/mattwparas/steel [2] https://github.com/helix-editor/helix/pull/8675 https://github.com/helix-editor/helix/pull/8675
- nightpool 2y agoSmall 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 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.
- chaosprint 2y agoThis is totally my personal preference :) I thought it was clearer this way. But there is a new version of the website under construction: https://glicol-x.netlify.app/ https://glicol-x.netlify.app/ It will be changed to the normal look.
- spacechild1 2y ago> https://www.boringcactus.com/2020/09/16/survey-of-rust-embeddable-scripting-languages.html https://www.boringcactus.com/2020/09/16/survey-of-rust-embed... For some reason, clicking on that link automatically downloads a file named "Human Fart.wav"...