News for hackers. Stuff that matters.
Re:Grumpy: Go running Python by Animats on Wednesday January 04, 2017 @01:50PM (#13320970)
In Python, you can get at a variable, or even code, in another thread with "getattr()". You can monkey-patch another thread while it is running. This is not very useful, but it's easy to implement in a naive interpreter such as CPython. Part of the price for this is the Global Interpreter Lock, so you don't really have two threads running at once. PyPy has a huge amount of machinery so that stuff will work.

Grumpy doesn't even seem to try to implement that. That's a good thing. If you restrict Python a little, it's much easier to compile.

Re:Grumpy: Go running Python by mdaniel on Wednesday January 04, 2017 @05:24PM (#13322671)
> That's a good thing. If you restrict Python a little, it's much easier to compile.

Isn't that more or less what RPython does? https://rpython.readthedocs.io/en/latest/architecture.html I mean, I know that starting with a full-fledged(?) Py27 codebase rules out _actually_ using RPython for the stated goals of Grumpy, but I think the two projects agree in principle and differ about the definition of "restricted" :-)

Re:Grumpy: Go running Python by masklinn on Thursday January 05, 2017 @06:15AM (#13326263)
RPython is a restricted (hence R) language specifically for VM development, it is not a general-purpose language.