Re:Python interpreter written in Rust for use by AI
by eichin on Saturday February 07, 2026 @01:07AM
(#46921714)
part of why rexec is "historical" is that Guido was looking at some lockdown work and asked (twitter, probably?) the community to come up with attack ideas (on a specific more-locked-down-than-default proposed version.) After a couple of hours, it was clear that "patching the problems" was entirely doomed given how flexible python is and it was better to do something else entirely and stop pretending...
Re:Python interpreter written in Rust for use by AI
by semi-extrinsic on Saturday February 07, 2026 @04:49AM
(#46922604)
> It's all layers of porous defenses.
Also known as the "swiss cheese model" in risk management.
And Python VM had/has its sandboxing features too, previously rexec and still https://github.com/zopefoundation/RestrictedPython - in the same category I'd argue.
Then there's of course hypervisor based virtualization and the vulnerabilities and VM escapes there.
Browsers use belt-and-suspenders approaches of employing both language runtime VMs and hardware memory protection as layers to some effect, but still are the star act at pwn2own etc.
It's all layers of porous defenses. There'd definitely be room in the world for performant dynamic language implementations with provably secure foundations.