❝HN 片单

The Unreasonable Effectiveness of Multiple Dispatch | Stefan Karpinski | JuliaCon 2019

The Julia Programming Language · 7 位 HN 用户推荐 · 2019–2026

  1. Steven G. Johnson’s keynote address. It’s longer format but really interesting, informative, entertaining and well delivered. The main topic is metaprogramming. [link] Stefan Karpinski’s talk on the unreasonable effectiveness of multiple dispatch. He discusses the fact that Julia has such dramatic code re-use and sharing between libraries and he discusses some reasons why he thinks multiple di
    — eigenspace, 2019
  2. I didn't appreciate the importance of this (or the degree to which this just works as a result of multiple dispatch), but there's a good talk about this from JuliaCon 2019 [1] by Stefan Karpinski [1] [link]
    — cbkeller, 2020
  3. - The Mess We're In (Armstrong): [link] - The Unreasonable Effectiveness of Multiple Dispatch (Karpinski): [link]
    — nur0n, 2020
  4. This video is good explaining the idea behind multiple dispatch in Julia if you have time: [link]
    — ddragon, 2021
  5. rankly, your examples seem to lead away from objects - how will another developer add the ability to heal dogs, for instance? They can't change the class definition, so they'll have to do something awful like subclass it into HealableDog(), which doesn't interoperate with all the existing dog code at all. Meanwhile, if 'dog' is simply a big ol' struct of data, they can write a function heal(dog) a
    — dTal, 2022
  6. esoteric higher-precision real number representations, or real numbers with error bars, or unitful numbers. I still need to do some sanity checks, because hidden assumptions might be problematic, but this level of interoperability is possible only with multiple dispatch (thinking of it as one of the "standard solutions" for the Expression Problem[1] really helped; [2] was also informative). I thin
    — krastanov, 2022
  7. Julia is really fun to use, and I think they are onto something with the type system: Complex types interact much better across module boundaries than in most other languages; here's a good talk on this by one of the creators: [link]
    — myrmidon, 2026

← HN 片单