News for hackers. Stuff that matters.
Re:Pyston v2: Faster Python by toolslive on Wednesday October 28, 2020 @03:06PM (#24922827)
it's _still_ essentially the same switch(opcode) based interpreter it was 20 years ago. no threading, no super instructions, no jitting, nothing.

https://github.com/python/cpython/blob/master/Python/ceval.c...

Re:Pyston v2: Faster Python by jashmatthews on Wednesday October 28, 2020 @04:45PM (#24923934)
Re:Pyston v2: Faster Python by toolslive on Wednesday October 28, 2020 @07:26PM (#24925333)
ha! you're right. so some optimizations did happen while I wasn't looking ;)
Re:Pyston v2: Faster Python by FartyMcFarter on Wednesday October 28, 2020 @07:48PM (#24925510)
> no threading,

CPython does use threads (on Linux, it spawns one pthread per Python thread). However it also has a lock (the infamous GIL) that prevents those threads from interpreting Python code simultaneously.

Re:Pyston v2: Faster Python by PeCaN on Thursday October 29, 2020 @01:40AM (#24927613)
Not that. https://en.wikipedia.org/wiki/Threaded_code

It's an interpreter implementation technique.