3 ms·
Wouldn't surprise me if a subset of Python compiled to asm.js would run faster in V8 than cpython.
by ravenstine 4y ago
Wouldn't surprise me if a subset of Python compiled to asm.js would run faster in V8 than cpython.
- JonChesterfield 4y agoProbably doesn't have to be a subset. Call back to cpython for the really dynamic madness, much like a jit tiers back out of machine code when assumptions don't hold.
- dragonwriter 4y ago> Wouldn’t surprise me if a subset of Python compiled to asm.js would run faster in V8 than cpython. I’m certain that there exists some subset of python for which this is true, but so what?
- bombolo 4y agoBut would this "subset of python" be actually useful? Once you break compatibility stuff doesn't work… and a fast python that can't run my software is less useful than a slow python that runs the software.