News for hackers. Stuff that matters.
Re:Compiling a subset of Python syntax to x86-64 assembly fo... by soravux on Tuesday June 27, 2017 @09:58PM (#14651175)
Interesting topic. We did something similar in the past using the bytecode instead of the AST tree to accelerate genetic algorithm evolution:

http://multigrad.blogspot.com/2014/07/low-level-frenzy.html http://multigrad.blogspot.com/2014/06/fun-with-python-byteco...

I'm curious, what was the original use case for pyast64? Feels like we could apply it to genetic programming fairly straightforwardly.

Re:Compiling a subset of Python syntax to x86-64 assembly fo... by benhoyt on Wednesday June 28, 2017 @08:57AM (#14653639)
Sorry, I didn't have a use case -- I did it purely for fun. However, I got the idea when I was trying to optimize some Python bytecode.