SPy: an interpreter and a compiler for a statically typed variant of Python

8 points by shalabh


zipy124

I always hate when someone lists pro's or con's and then don't provide evidence. For example the top of the readme it literally says:

It consists of:

  • an interpreter (so that you can have the usual nice "development experience" that you have in Python)
  • a compiler (for speed)

And then nowhere in the readme do we get a compaison of the speed of the compiler against the interpreter. If you say 'for speed' I'd quite like to know what sort of increase we are talking about, single digit percent? double digit? Order of magnitude?

aiono

How does it compare to Mojo?

sloane

they mention a point in the pipeline where “redshifting” is performed on the AST. does anyone know what redshift means in this context? it seems to be something about specializing generic types, but i can’t say for sure.