faster-cpython / ideas

1.67k stars 49 forks source link

New Paper from Mozilla #630

Open cfbolz opened 8 months ago

cfbolz commented 8 months ago

There's been a very recent paper by Mozilla about "CacheIR", which reminded me a little of the upcoming uops (linear IR, the operations replace higher level ones, with guards, constructed after getting feedback from the runtime types, also speeds up interpreter). I thought you might be interested: https://dl.acm.org/doi/10.1145/3617651.3622979

markshannon commented 8 months ago

Thanks Carl.

The CacheIR does looks similar to our uops and to some of the ideas I've been looking at for handling specialization of LOAD_ATTR and CALL, but more coherent and principled.