zlacker

[return to "Monty: A minimal, secure Python interpreter written in Rust for use by AI"]
1. OutOfH+0n[view] [source] 2026-02-06 23:38:04
>>dmpetr+(OP)
It is absurd for any user to use a half baked Python interpreter, also one that will always majorly lag behind CPython in its support. I advise sandboxing CPython instead using OS features.
◧◩
2. avaer+en[view] [source] 2026-02-06 23:39:07
>>OutOfH+0n
The repo does make a case for this, namely speed, which does make sense.
◧◩◪
3. sd2k+Hp[view] [source] 2026-02-07 00:00:54
>>avaer+en
True, but while CPython does have a reputation for slow startup, completely re-implementing isn't the only way to work around it - e.g. with eryx [1] I've managed to pre-initialize and snapshots the Wasm and pre-compile it, to get real CPython starting in ~15ms, without compromising on language features. It's doable!

[1] https://github.com/eryx-org/eryx

[go to top]