The Unreasonable Effectiveness of Multiple Dispatch | Stefan Karpinski | JuliaCon 2019
Channel:The Julia Programming Language · Length:35:24 · Published:2019-07-25 · Views:79200
Summary
Julia co-creator Stefan Karpinski explains why multiple dispatch makes Julia code and types reusable across packages with so little friction. He covers sharing basic types and sharing generic algorithms.
Why HN recommends it
HN commenters recommend it as the definitive explanation, from a language designer, of why multiple dispatch makes Julia's composability work.
a talk by a core developer at JuliaCon 2019 titled 'The unreasonable effectiveness of multiple dispatch' — HN, 2020
Programming language design · Software architecture & design
Subtitles (excerpt)
right hello everyone thanks for coming here in this session so I'm the one for it absolute professor department of computer science and engineering United Nations which the Bangladesh so I'm the session chair so we are very privileged that we have our fastest speaker with us is Stefan so he's gonna talk about the unreasonable effectiveness of multiple dispatch dispatch I said okay so welcome is defend please okay this one yeah this is much better thank you okay I'll talk into the mic like an auctioneer or like a deejay or something so you know everyone here is used gulia quite a bit presumably if not welcome but you know multiple dispatch is the key paradigm of the language and you know we've we've noticed something over the years which is a little bit you know partly expected and partly perplexing I certainly don't think we expected it as much as we've seen it and that is that you know Julia's ecosystem more than any other language I've ever seen has a really really large amount of code reuse and so we see we see you know people writing generic code and then someone else defines a type and they've never talked to each other they don't even know about each other and then someone sticks this weird type through the generic code and just works like
On Hacker News
Did you mean "unreasonable effectiveness"? :P I just watched that talk the other day, and boy is it insightful. Julia has cracked a fairly magical combination of features. I fully expect it to replace Python over the next 10 years. Direct link to "Unreasonable Effectiveness": [VIDEO] — dTal, 2020-06
Julia's model is based around multimethods, which enables pretty crazy levels of interoperability (imagine being able to use scipy and tensorflow together, with tensorflow's autograd just magically working on most of scipy's functions). More about it here [VIDEO] — krastanov, 2021-02
Indeed, Julia's abstract type system with multiple dispatch is its killer feature. It enables generic programming in a beautiful and concise fashion. Here [1] Stefan Karpinski gives some explanations of why multiple dispatch is so effective. [1] [VIDEO] — dandanua, 2021-01
I like to watch talks by programming language designers. Some that readily come to mind are Rich Hickey, Joe Armstrong (RIP), and Stefan Karpinski. Some of my favorites are: - Simple Made Easy (Hickey): [LINK] - The Mess We're In (Armstrong): [LINK] - The Unreasonable Effectiveness of Multiple Dispatch (Karpinski): [VIDEO] — nur0n, 2020-10
The core problem with class-based object orientation is that methods go inside of the type instead of being added externally. That means everyone has to agree on what methods can be called on a class or they have to subtype it, which sounds harmless, but is actually a big problem when what you really wanted to do was just define a new method for an existing type. My best attempt at explaining: [V… — StefanKarpinski, 2020-10
Related videos
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- Armin Ronacher - A Python for Future Generations · EuroPython Conference · 42:43
- Analogy as the Core of Cognition · Stanford · 1:08:37
- “What is Success?” by Evan Czaplicki · Elm Europe · 47:52
- Steve Jobs on privacy, Steve Jobs at the D8 Conference (Video) · iwasjojo · 3:19
- Ali Rahimi's talk at NIPS(NIPS 2017 Test-of-time award presentation) · ObservantVids · 23:19
- Making R run Fast - Jan Vitek · John O'Neill · 1:21:38
- Shared memory parallelism in Julia | Kiran Pamnany | Cambridge Julia Meetup (May 2018) · The Julia Programming Language · 26:33
- Flight of the Navigator | VFXcool · Captain Disillusion · 41:28
- VLT (Very Large Telescope) HD Timelapse Footage · Nicolas Bustos · 8:10
- Around The Corner - How Differential Steering Works (1937) · US Auto Industry · 9:30
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Value of Values with Rich Hickey · InfoQ · 31:43