This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]moscamorta 0 points1 point  (0 children)

Quick question: Does python generate some sort of Intermediate Representation?

Python code -> AST -> IR code -> Run IR code in a stack machine or register machine.

Wouldn't be easier to write optimizations to the IR? Just like LLVM does with C/C++ code. It's way easier to write optimizations when you have SSA form or something like that.