~/talk

Learning from FP: Simulated Annealing in Haskell and Ruby

Talkat RubyConf 2014 · 2014-11-17..11-19· [ruby]
links:none on file
slides:none on file

Shows a concrete translation of a Simulated Annealing algorithm from Haskell into Ruby, demonstrating how Haskell’s separation of pure algorithms from side effects maps to Ruby code. Includes use of ruby-processing for visualizing the algorithm and uses the comparison to illustrate functional programming ideas that can improve Ruby code.

AI-written summary · about

  1. 0:00Intro
  2. 0:25Procedural vs Functional
  3. 3:22Haskell
  4. 7:36Lazy
  5. 8:29Types
  6. 10:45Partial Application
  7. 12:45Higher-order functions
  8. 17:18Simulated Annealing
  9. 21:55The Perfect Picnic
  10. 23:09Tessellation
  11. 23:57Annealed
  12. 25:45Tests
  13. 26:27Geometry
  14. 32:44Not enough time!
  15. 33:04Ruby-Processing
~/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.