You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should have the file browser be able to run either some kind of integrated scripting language that's sandboxed (Lua, Rhai, WASM, etc...) or be able to execute arbitrary script. The main goal of this is to enable further functionality such as previewing arbitrary files (STL, OpenSCAD, etc...) with the possibility of enabling further functionality.
The easiest solution would be to allow for the execution of arbitrary scripts but that's also likely to cause the most errors and be the most vulnerable to malicious actors, so my 2 cents is that a sandboxed scripting language is likely for the best. Among other top contenders for scripting languages Lua is the most mature but has the worst syntax and language design decisions, Rhai is slower and less supported but has better syntax and language design decisions. A WASM runtime is the most complex to initially set up but could allow any language to compile arbitrary runtime scripts. All of the sandboxed languages as I understand have feature sets that can be arbitrarily enabled or disabled which could enable different permission levels for any given script. Further another language can be used for scripting, this is just what I understand to be the most popular at this point.
The text was updated successfully, but these errors were encountered:
We should have the file browser be able to run either some kind of integrated scripting language that's sandboxed (Lua, Rhai, WASM, etc...) or be able to execute arbitrary script. The main goal of this is to enable further functionality such as previewing arbitrary files (STL, OpenSCAD, etc...) with the possibility of enabling further functionality.
The easiest solution would be to allow for the execution of arbitrary scripts but that's also likely to cause the most errors and be the most vulnerable to malicious actors, so my 2 cents is that a sandboxed scripting language is likely for the best. Among other top contenders for scripting languages Lua is the most mature but has the worst syntax and language design decisions, Rhai is slower and less supported but has better syntax and language design decisions. A WASM runtime is the most complex to initially set up but could allow any language to compile arbitrary runtime scripts. All of the sandboxed languages as I understand have feature sets that can be arbitrarily enabled or disabled which could enable different permission levels for any given script. Further another language can be used for scripting, this is just what I understand to be the most popular at this point.
The text was updated successfully, but these errors were encountered: