~/talk

Free the Conqueror! (Refactoring divide-and-conquer functions)

Talkat Lambda Days 2017 · 2017-02-09..02-10· [frontend-architecture]
links:none on file
slides:none on file

A refactoring pipeline statically finds divide‑and‑conquer candidates and applies a sequence of semantics‑preserving transformations to reach a divide-and-conquer canonical form and finally replace ad hoc recursion with a higher‑order DC call. Implementations live in RefactorErl (part of the paraphrase project) for Erlang; examples include turning a hand‑written mergesort and minimax variants into DC-based code. Some transforms are implemented and working, others are partial, and layout and comments are preserved where possible.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10What is divideandconquer
  3. 2:05Pseudocode
  4. 2:38Highorder functions
  5. 3:19Motivation
  6. 4:23Example code
  7. 5:14ScalingHLP
  8. 6:04Sequential implementation
  9. 6:29Limit parallelism
  10. 8:03The central
  11. 8:18Standard refactorings
  12. 8:47Transformations
  13. 10:06What is a DC
  14. 11:45Minimax example
  15. 14:22Group creates branches
  16. 16:07Introduce function
  17. 16:22Minimax
  18. 16:41Conclusion
~/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.