Teaching New Tricks to Old Programs Part 2 • Conal Elliott • YOW! 2017
This presentation was recorded at YOW! 2017. #GOTOcon #YOW
Conal Elliott - Independent Researcher
Part 1 is available here:
ABSTRACT
Many useful operations are well-defined on functions but are not computable, e.g., root-finding, optimization, exact differentiation and integration, and efficient, incremental evaluation. Sometimes these problems can be solved by means of a domain-specific embedded language (DSEL) with an implementation that maintains extra information. With extra effort, these implementations can be quite efficient, but at the cost of duplicating work of the host language compiler. Although overloading can hide some of the required change of vocabulary, the illusion is imperfect, and so code must be rewritten for the new DSLs with sometimes awkward or surprising results.
This talk presents an alternative to DSELs, giving new interpretations to existing functional programs. The implementation is a plugin for GHC—a popular, high-quality Haskell compiler—and works by translating to a well-known, more easily generalizable form. Each new interpretation is simply a new type and a collection of class instances for it, written in standard Haskell, with no exposure to compiler internals. To get a feel for the breadth of this technique, we’ll look at interpretations including hardware circuits, automatic differentiation, incremental evaluation, and interval analysis. [...]
#DenotationalDesign #DSEL #Haskell #SoftwareArchitecture #EventSourcing #ConalElliott #YOWcon
Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at
Sign up for updates and specials at
SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
1 view
0
0
8 years ago 00:01:00 30
Teaching new generation
12 years ago 00:08:50 80
Autie Teaches New Combo
11 years ago 00:02:04 37
New Politics - Teaching Louis Danish
11 years ago 01:19:10 436
Teaching Pronunciation: Seven Essential Concepts | The New School
8 years ago 00:05:40 37
Teacher Interviews: New Ways of Teaching
8 years ago 00:01:35 133
Owner regrets teaching his rabbit THIS new trick
4 years ago 00:01:00 30
AMONG US TEACHING | NEW IMPOSTOR TEACHER ROLE | CUP SONG | funniest memes
3 years ago 00:03:38 3
How to Teach New Vocab to Young Learners
8 years ago 01:21:08 149
Communicative Language Teaching: Jeremy Harmer and Scott Thornbury | The New School
8 years ago 00:08:24 27
Teaching Your Paradiddle New Tricks - Drum Lesson
8 years ago 01:34:33 101
Avant-garde: Teaching Berimbolo to a bunch of new white belts
7 years ago 05:22:51 44
Onething 2017 /Worship: Laura Hacket Park, New Year Worship: Wallace & Rachel Faagutu, Teaching: Mike Bickle/ Session 11 // Full Live
8 years ago 01:11:24 53
A teaching on Compassion, Auckland, New Zealand, July 29, 2017
7 years ago 01:23:38 1
Introducing the New English Teaching FORUM
8 years ago 00:09:11 1
TEACHING OUR NEW PUPPY TRICKS
4 years ago 00:02:30 32
New approach in teaching music
11 years ago 00:00:34 1.4K
FNATIC Era teaching new things vs. Team DK @ TI4 Group Stage
9 years ago 00:44:55 7
Grand Master Kwon MMA Takedown and New Techniques Teaching
6 years ago 00:19:23 63
Live teaching surgery for
7 years ago 02:51:30 38
Vimalakīrti Sūtra | Teaching by Dzongsar Khyentse Rinpoche — Part 2 | 17th March, 2018 | New Delhi
1 year ago 00:03:32 14
Teaching Robots New Behaviors
7 years ago 00:03:31 15
Teaching New Words for Kids - Harry the Bunny | Educational Cartoons for Children | BabyFirst TV
4 years ago 00:04:48 36
SALTO - Teaching an old robot new tricks
7 years ago 02:39:53 127
Vimalakīrti Sūtra | Teaching by Dzongsar Khyentse Rinpoche — Part 1 | 16th March, 2018 | New Delhi