zlacker

[parent] [thread] 4 comments
1. avaer+(OP)[view] [source] 2026-02-06 23:39:07
The repo does make a case for this, namely speed, which does make sense.
replies(2): >>sd2k+t2 >>OutOfH+xj
2. sd2k+t2[view] [source] 2026-02-07 00:00:54
>>avaer+(OP)
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

3. OutOfH+xj[view] [source] 2026-02-07 03:01:34
>>avaer+(OP)
Speed is not a feature if there isn't even syntax parity with CPython.
replies(1): >>maxbon+QA
◧◩
4. maxbon+QA[view] [source] [discussion] 2026-02-07 07:22:16
>>OutOfH+xj
Not having parity is a property they want, similar to Starlark. They explicitly want a less capable language for sandboxing.

Think of it as a language for their use case with Python's syntax and not a Python implementation. I don't know if it's a good idea or not, I'm just an intrigued onlooker, but I think lifting a familiar syntax is a legitimate strategy for writing DSLs.

replies(1): >>OutOfH+1c1
◧◩◪
5. OutOfH+1c1[view] [source] [discussion] 2026-02-07 14:45:12
>>maxbon+QA
Not having syntax parity with Python == not Python. End of story. The title stays "Python interpreter" which accordingly it is not.
[go to top]