in reply to Extending a perl program with Scheme, Lua, or JS
I've ended up deciding to go with Guile via a shell, at least for the time being. Here is my glue code. Guile meets my criteria of being installable as a debian package, having good performance, being stable and actively maintained, supporting data structures, and having simple syntax.
Although I think the possibility of a Trojan horse attack using Guile code embedded in a document is realistically a little remote due to my small user base plus sociological factors, I'm looking into how to sandbox Guile. Guile has a sandbox mechanism that seems to be only focused on preventing excessive use of resources. I've posted on the guile-user email list to ask if there's any way to prevent code from accessing the file system and such. I could also just turn off Guile extensions by default.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extending a perl program with Scheme, Lua, or JS
by haukex (Archbishop) on Feb 12, 2019 at 09:37 UTC | |
by bcrowell2 (Friar) on Feb 12, 2019 at 23:47 UTC | |
|
Re^2: Extending a perl program with Scheme, Lua, or JS
by bliako (Abbot) on Feb 12, 2019 at 11:58 UTC | |
by bcrowell2 (Friar) on Feb 12, 2019 at 23:54 UTC |