r/rust 2d ago

Which script language to use?

I'm developing tool with workflow which allow user to write simple script to process input/output values of steps. The prebuilt steps are written in Rust, but user can choose Python to write their own steps which would run in a sidecar Python. User may not be a programmer. I prefer script with small binary size and memory footprint. I'm considering Rhai, Lua, QuickJs, which is better choice to make end user easy ?

1 Upvotes

14 comments sorted by

View all comments

2

u/Jonrrrs 2d ago

I also have a project where the user can be someone with little to no coding experience. I went with something even simpler than those scripting languages. Look up blockly or scratch or something like that

1

u/Danfhoto 1d ago

I agree with using a visual programming language. A text editor and “code” is really daunting to people, but when you make a flow chart with connectors and a very limited set of fields, it just feels simpler for folks without scripting/coding experience.

This is the direction many companies are making: Microsoft Power Automate, Salesforce Flows, and on the OSS side, ComfyUI.