~/talk

RICE: An Optimizing Curry Compiler

Talkat PADL 2023 · 2023-01-16..01-17· [compilers-and-language-design]
links:none on file
slides:none on file

RICE is written entirely in Curry and turns Curry source into a C backend via an imperative IL called ICurry, using AST-to-AST transformations (fixed‑point, bottom‑up, composable functions) and functional patterns to encode rules like case elimination and shortcut deforestation (fold/build → direct recursion). Runtime uses graph reduction with backtracking and per-node deterministic flags to avoid needless undo, and it preserves call‑time choice by binding shared nondeterministic values. Benchmarks claim compiled programs run 3 to 1000 times faster than prior compilers.

AI-written summary · about

  1. 0:00Start
  2. 4:39Why an Optimizing Compiler?
  3. 11:05A Rewriting Compiler: Implementation
  4. 13:07Optimizations as Rewrites
  5. 16:05Challenges of Optimizations
  6. 18:05Run-time System
  7. 20:04Target Code
  8. 21:29Fast Backtracking
  9. 22:39Removing Normalization
  10. 24:23Curry Compiler Comparisons
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.