~/talk

LPython: Novel, Fast, Retargetable Python Compiler

Talkat SciPy 2024 · 2024-07-08..07-14· [python, compilers-and-language-design]
links:none on file
slides:none on file

LPython compiles a typed subset of Python to lean native binaries (example 16 KB) using a C++ compiler that parses to an ASR (abstract semantic representation) of ~300 nodes, runs Jupyter and WebAssembly demos successfully, and in examples beats CPython import+run times and even an optimized C++ implementation. Back ends include LLVM, a direct wasm emitter, and OpenMP for parallel loops; SymPy support uses a SymEngine-backed SymPy subset. Compiler builds in ~30 s locally, is alpha-stage but retargetable and supports LFortran and LC front ends.

AI-written summary · about

  1. 0:00Introduction to LPython
  2. 1:49Motivation for LPython
  3. 3:39Compiler architecture overview
  4. 4:22Simple Python compilation demo
  5. 7:11SymPy integration and error handling
  6. 10:21Jupyter notebook support
  7. 11:26WebAssembly compilation demo
  8. 12:49Fortran frontend and ASR internals
  9. 15:35LLVM and web assembly backends
  10. 16:41Compiler transparency and debugging
  11. 17:25Python-C interoperability
  12. 18:50Performance benchmarks
  13. 19:53Frontend compatibility and goals
  14. 21:16ASR design and benefits
  15. 22:22Compiler speed and development
  16. 23:24Project roadmap and conclusions
  17. 24:06Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.