Untrusted environment: Difference between revisions

Content added Content deleted
(Add a Rust solution)
Line 176: Line 176:
cgi = CGI::new("html4")
cgi = CGI::new("html4")
eval(cgi["arbitrary_input"].to_s)</lang>
eval(cgi["arbitrary_input"].to_s)</lang>

=={{header|Rust}}==

While Rust does not have a sandboxed execution mode of its own, it has some of the best support available for compiling to WebAssembly, which ''is'' explicitly designed to be sandboxed and has multiple runtime environments in development.


=={{header|Scala}}==
=={{header|Scala}}==