top | item 41106169 (no title) jakobson14 | 1 year ago Sounds a lot like TCL's Safe interps? discuss order hn newest a-french-anon|1 year ago Yeah, first thing that came to my mind too. Though at a deeper level than simply replacing global procs.Overview for unfamiliar readers:https://www.tcl.tk/software/plugin/safetcl.htmlhttps://wiki.tcl-lang.org/page/Config+file+using+slave+inter... jakobson14|1 year ago Still blows my mind that TCL includes a firewall and virtual filesystem layer.https://wiki.tcl-lang.org/page/firewallhttps://wiki.tcl-lang.org/page/VFShttps://wiki.tcl-lang.org/page/tclvfsYou can even build a FUSE filesystem in TCL! jakobson14|1 year ago Oh, side note: Safe interps now have available time limits and a few other measures, though it seems memory allocation limits are a harder nut to crack due to all the places a memory allocation can occur in the TCL interpreter.https://www.tcl-lang.org/man/tcl8.5/TclCmd/interp.htm#M46
a-french-anon|1 year ago Yeah, first thing that came to my mind too. Though at a deeper level than simply replacing global procs.Overview for unfamiliar readers:https://www.tcl.tk/software/plugin/safetcl.htmlhttps://wiki.tcl-lang.org/page/Config+file+using+slave+inter... jakobson14|1 year ago Still blows my mind that TCL includes a firewall and virtual filesystem layer.https://wiki.tcl-lang.org/page/firewallhttps://wiki.tcl-lang.org/page/VFShttps://wiki.tcl-lang.org/page/tclvfsYou can even build a FUSE filesystem in TCL! jakobson14|1 year ago Oh, side note: Safe interps now have available time limits and a few other measures, though it seems memory allocation limits are a harder nut to crack due to all the places a memory allocation can occur in the TCL interpreter.https://www.tcl-lang.org/man/tcl8.5/TclCmd/interp.htm#M46
jakobson14|1 year ago Still blows my mind that TCL includes a firewall and virtual filesystem layer.https://wiki.tcl-lang.org/page/firewallhttps://wiki.tcl-lang.org/page/VFShttps://wiki.tcl-lang.org/page/tclvfsYou can even build a FUSE filesystem in TCL!
jakobson14|1 year ago Oh, side note: Safe interps now have available time limits and a few other measures, though it seems memory allocation limits are a harder nut to crack due to all the places a memory allocation can occur in the TCL interpreter.https://www.tcl-lang.org/man/tcl8.5/TclCmd/interp.htm#M46
a-french-anon|1 year ago
Overview for unfamiliar readers:
https://www.tcl.tk/software/plugin/safetcl.html
https://wiki.tcl-lang.org/page/Config+file+using+slave+inter...
jakobson14|1 year ago
https://wiki.tcl-lang.org/page/firewall
https://wiki.tcl-lang.org/page/VFS
https://wiki.tcl-lang.org/page/tclvfs
You can even build a FUSE filesystem in TCL!
jakobson14|1 year ago
https://www.tcl-lang.org/man/tcl8.5/TclCmd/interp.htm#M46