3 ms·
impressive work! i suppose it implements a subset and not the full language? would be nice to see some benchmarks. everyone claims super fast nowadays. i have n
by blondin 4y ago
impressive work! i suppose it implements a subset and not the full language? would be nice to see some benchmarks. everyone claims super fast nowadays. i have no doubt though, since it's cpp.
- re 4y agoThey say "The speed of PocketPy is approximately 50% of CPython" so apparently the focus is a small implementation rather than performance. https://pocketpy.dev/performance/ https://pocketpy.dev/performance/
- asicsp 4y agoThere's a table in the README saying "Star Unpacking" isn't supported.
- deathanatos 4y agoThat's not all that's not supported. Through poking at the live demo, I've found that at least slots, kw-only args, some basic syntax elements, decorators, generators, generator comprehensions and async are additionally not. Exceptions are marked as supported … but `raise Exception()` is a syntax error? (Re-raise and binding exceptions also fails to parse.)