marcoheisig/fast-generic-functions
View on GitHub ↗ ★ 112 Common Lisp
Seal your generic functions for an extra boost in performance.
7 mentions on Hacker News by 5 people: 0 stories, 7 comments · first 2021-04-11 · latest 2026-02-25
20082026
-
…typed HASH-TABLEs (I mean the keys and values), static typing of CLOS slots (invasive, like https://github.com/marcoheisig/fast-generic-functions ), ..., parametric typing beyond ARRAYs.
comment by a-french-anon · 2026-02-25 · in Steel Bank Common Lisp -
> Thing is that you need a complex JIT like Julia's or stuff like https://github.com/marcoheisig/fast-generic-functions to offset the cost of constant dynamic dispatch. Julia is always the odd one out, when talking about dynamic vs. static…
comment by majoe · 2025-11-05 · in SPy: An interpreter and compiler for a fast statically typed variant of Python -
…the eql/equal/equalp/etc... hell. Thing is that you need a complex JIT like Julia's or stuff like https://github.com/marcoheisig/fast-generic-functions to offset the cost of constant dynamic dispatch. I actually had such a conversation on…
comment by a-french-anon · 2025-11-05 · in SPy: An interpreter and compiler for a fast statically typed variant of Python -
…performance reasons, since you'd either need a Julia-like JIT or a granular "dynamism knob" like https://github.com/marcoheisig/fast-generic-functions to truly amortize the cost of CLOS-like dispatch and polymorphism; though magic can be…
comment by gavinhoward · 2024-09-27 · in Rewriting Rust: A Response -
…performance reasons, since you'd either need a Julia-like JIT or a granular "dynamism knob" like https://github.com/marcoheisig/fast-generic-functions to truly amortize the cost of CLOS-like dispatch and polymorphism; though magic can be…
comment by BoingBoomTschak · 2024-09-27 · in Rewriting Rust: A Response -
…being bolted on instead of truly integrated in the language; would need a JIT and something like https://github.com/marcoheisig/fast-generic-functions on system classes to go fast enough, Julia kinda does this (but it hurts my eyes). *…
comment by a-french-anon · 2024-01-26 · in If Lisp is so great -
…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 from tracing (TraceMonkey) to inline caching…
comment by sedachv · 2021-04-11 · in GNU lightning: generates assembly language code at run-time