Hacker GitHub

← All repos

guicho271828/inlined-generic-function

View on GitHub ↗ ★ 109 Common Lisp archived

Bringing the speed of Static Dispatch to CLOS. Succeeded by https://github.com/marcoheisig/fast-generic-functions

5 mentions on Hacker News by 4 people: 0 stories, 5 comments · first 2016-04-18 · latest 2021-04-11

Mentions per year 5 mentions · busiest year 2016 (2)
20082026
  1. …a big step from that to inline caching. But again, why would you do that when you don't need to? https://github.com/guicho271828/inlined-generic-function https://github.com/marcoheisig/fast-generic-functions There is a reason Mozilla went…
  2. Do you mean something like this? https://github.com/guicho271828/inlined-generic-function Even if you know all the types, you still have polymorphism that can’t be efficiently monomorphized without an exponential space penalty.
    comment by reikonomusha · 2021-02-09 · in State of the Common Lisp ecosystem, 2020
  3. …(especially monomorphic ones). I couldn’t imagine this being a _library_ in any other language. [0] https://github.com/guicho271828/inlined-generic-function
    comment by reikonomusha · 2017-10-15 · in Switching from Common Lisp to Julia
  4. …for this purpose), produces C++-like static dispatch for cases such as the one you're proposing. https://github.com/guicho271828/inlined-generic-function
  5. …compile methods and handing the types to the optimizing compiler (which also uses type inference): https://github.com/guicho271828/inlined-generic-function/
    comment by lispm · 2016-04-18 · in Why I am betting on Julia (2014)