News for hackers. Stuff that matters.
Re:Cinder: Instagram's performance-oriented fork of CPython by pjmlp on Wednesday May 05, 2021 @04:42AM (#27047592)
Regarding the Static Python subset, Microsoft also has one flavour of it.

https://makecode.com/python

Re:Cinder: Instagram's performance-oriented fork of CPython by _carljm on Wednesday May 05, 2021 @08:40AM (#27049125)
Static Python is a bit different in that it’s not a subset language. It makes a few semantic changes, most notably that classes are slotified, so you can’t tack random extra attributes into instances. If you’re writing typed Python you probably don’t do much of this anyway since all type checkers will complain about it. But the approach is “normal dynamic Python with optimizations where allowed by types,” not subset.
Re:Cinder: Instagram's performance-oriented fork of CPython by rlamy on Wednesday May 05, 2021 @12:24PM (#27051973)
How similar is it to RPython?
Re:Cinder: Instagram's performance-oriented fork of CPython by czardoz on Wednesday May 05, 2021 @01:51PM (#27053206)
Unlike RPython, Static Python in cinder is not really a subset of Python, it can compile everything (although it will throw compile time errors if it sees mismatched types). If it cannot determine type information, it just assumes the type could be anything, and falls back to slower CPython behavior.