In this episode, "Representation-Driven Dispatch" (generated by Claude 4.6 Opus) is read by the Speechify text-to-speech app. Socials Tacit Talk YouTube Playlist Conor Hoekstra: LinkTree / Bio Show Notes Date Released: 2026-04-15 Representation-Driven Dispatch
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_01Welcome to episode 36 of Tacit Talk. In this episode, there will be a text-to-speech reading of a CLOD 4.6 Opus generated deep research paper entitled Representation Driven Dispatch, which is about algorithm dispatch or algorithm selection as it shows up in different areas of computer science.
SPEAKER_00Representation-driven dispatch, one idea, many names, a deep dive. April 2026. How choosing the right algorithm based on data properties appears across compiler theory, generic programming, GIT compilation, databases, array languages, auto-tuning, and adaptive algorithms. And why no one community owns the concept. Abstract. A single idea recurs across nearly every branch of computer science. Given knowledge about the properties of the data, select a more efficient implementation.
SPEAKER_00This idea has been independently discovered, named, and formalized in at least a dozen communities. A compiler calls it strength reduction. A C programmer calls it tag dispatching. A database calls it access path selection. A JIT compiler calls it type feedback. An auto-tuning library calls it plan selection. An array language runtime calls it type specialization. These are all the same thing. This document traces the idea through its many incarnations, identifies the common structure, and argues that the fragmentation of terminology has obscured what is arguably one of the most important principles in practical computer science.
SPEAKER_00Algorithms should be chosen by the machine, not the programmer. Based on what is known about the data at the point of execution, section one, the core pattern, every instance of this idea shares a common structure. First, there is an input, a computation to perform, plus some observable property of the operands second, there is a decision. Select from a portfolio of implementations based on that property. Third, there is an output, the same semantic result but faster.
SPEAKER_00The observable property varies depending on the system. Static type is observed by the compiler at compile time. Value range or bit width is observed by the array runtime at array creation time. Iterator category is observed by the C template system at compile time. Concrete class is observed by the JIT compiler at first call. Table statistics are observed by the query optimizer at query planning time. Hardware features are observed by the loader or resolver at program startup.
SPEAKER_00Input distribution is observed by the adaptive algorithm during execution. Empirical runtime is observed by the auto-tuner offline or at install time. But the structure is always the same. Observe, select, execute. Section two. Compiler theory, specialization, and strength reduction. Strength reduction, the classical form, the oldest form. Compilers have replaced expensive operations with cheaper equivalent ones since the 1960s.
SPEAKER_00Multiplication by two becomes a left shift by one. Division by four becomes a right shift by two for unsigned values. Modulo 8 becomes a bitwise with seven for unsigned values. The enabling property is the compile time constant value of one operand. The compiler knows that the divisor is a power of two, so it selects a shift instead of a division. This is exactly the same pattern as CBQN selecting pop count plus memset instead of comparison sort when it knows the array is Boolean.
SPEAKER_00The only difference is what property is observed and when, type specialization. Modern compilers specialize code paths based on type, integer arithmetic versus floating point arithmetic, signed versus unsigned comparison sequences, pointer width operations versus narrow operations. In languages with unboxed types, this happens at compile time. In languages with tag types, Lisp, Smalltalk, Array languages, it happens at runtime. The names used in this community include strength reduction, peepole optimization, type specialization, operator lowering, and idiom recognition.
SPEAKER_00Section 3, partial evaluation, the theoretical apex. Partial evaluation is the general theory of which all forms of specialization are instances. Given a program P that takes a static input and a dynamic input, a partial evaluator produces a residual program that is specialized to the known static input. The residual program produces the same results as the original, but is typically much faster because decisions that depended only on the static input have been resolved.
SPEAKER_00The key insight, formalized by Futamora in 1971 and systematized by Jones, Gomard, and Sestoft in 1993, is that compilation itself is partial evaluation. An interpreter specialized on a particular source program becomes a compiled program. The Futamura projections, first, specializing an interpreter on a program yields a compiled program. Second, specializing a specializer on an interpreter yields a compiler. Third, specializing a specializer on itself yields a compiler generator.
SPEAKER_00Every system in this paper can be understood as a form of partial evaluation, where the static input is some property of the data. In compiler strength reduction, the static input is the constant operand value, and the dynamic input is the other operand. In C tag dispatch, the static input is the iterator category type, and the dynamic input is the container contents. In CBQN sort, the static input is the element type tag, and the dynamic input is the array values.
SPEAKER_00In database optimization, the static input is the table statistics, and the dynamic input is the query predicates. In FFW planning, the static input is the transform size, and the dynamic input is the actual data. In JIT inline cache, the static input is the receiver class, and the dynamic input is the message arguments. Key references for this section, Futamora, 1971, Partial Evaluation of Computation Process, an approach to a compiler, compiler, published in Systems, Computers, Controls, and Jones, Gomard, and Sestoft, 1993.
SPEAKER_00Partial Evaluation and Automatic Program Generation, published by Prentice Hall, Section 4. Generic Programming, Concepts, and Tag Dispatch. Alexander Stepanov's vision for the STL was that algorithms should be parameterized by concepts, abstract requirements on types, and that different concepts should enable different implementations. Tag Dispatching, introduced in C98. The STL uses empty tag types to select algorithm variants at compile time.
SPEAKER_00There is a hierarchy of iterator tags, input iterator tag, forward iterator tag inheriting from it, bidirectional iterator tag inheriting from forward, and random access iterator tag inheriting from bidirectional. The standard advanced function selects O of 1 or O of n based on iterator category. For random access iterators, it simply adds n to the iterator. For input iterators, it increments the iterator n times in a loop. The property observed is the structural capability of the iterator.
SPEAKER_00The same function name, advance, maps to fundamentally different algorithms. C20 concepts. Concepts formalize what tag dispatching did informally. The same advance function can be written with concept constraints. For random access iterators it adds directly. For input iterators it loops. Haskell type classes, Haskell's type classes are the same mechanism in a different syntax. A sortable type class can have an instance for INT that uses radix sort, O of N for bounded integers, and an instance for lists that uses merge sort, O of n log n, comparison-based.
SPEAKER_00The type class dictionary is the dispatch table. The type determines which algorithm runs. The names used in this community include tag dispatching, concept-based dispatch or overloading, type class resolution, trait-based dispatch and rust, protocol dispatch and swift enclosure, and constrained generics. Key references, Stepanov and Mac Jones, 2009, Elements of Programming. Stepanov and Rose, 2015, from Mathematics to Generic Programming.
SPEAKER_00And Musser and Stepanov, 1994, Algorithm-Oriiented Generic Libraries, Section 5. Object-oriented languages, multiple dispatch and multi-methods, single dispatch, virtual methods, selects an implementation based on the type of one object. Multiple dispatch generalizes this to select based on the types of all arguments. CLOS, the common Lisp object system. CLOS, introduced in 1988, was the first widely used language with native multiple dispatch.
SPEAKER_00You could define a collide method that behaves differently, depending on whether an asteroid hits a spaceship or a spaceship hits an asteroid, Julia. Julia, described by Besenson and colleagues in 2017, made multiple dispatch the central organizing principle of the language, combined with JIT compilation that specializes methods on concrete argument types. Different sort algorithms are selected by element type. A vector of Booleans gets count sort, a vector of unsigned 8-bit integers gets radix sort, and a generic vector gets merge sort.
SPEAKER_00Julia's key insight is that multiple dispatch plus type inference plus GIT specialization, together, recover the performance of static languages while keeping dynamic flexibility. The compiler sees a sort call on a Boolean array and generates code that calls counts sort directly, with no dispatch overhead. The names used in this community include multiple dispatch or multi-methods, dynamic dispatch, virtual method tables or vTables, method specialization, and predicate dispatch, which is more general than type-based dispatch.
SPEAKER_00Key references, Bobrow and Colleagues, 1988, Common Lisp, Object System Specification, and Besenson and Colleagues, 2017. Julia, a fresh approach to numerical computing, section 6, GIT compilation, type feedback, and inline caches, dynamic languages, JavaScript, Python, Ruby, Smalltalk, Don't Know Types at Compile Time, GIT compilers, recover type information at runtime through type feedback, observing what types actually flow through each operation, and specializing accordingly, inline cache, introduced by Deutsch and Schiffman in 1984, the original SmallTalk AD optimization, at each message send site, cache, the most recent receiver class, and the method it resolved to, on subsequent calls, check if the class matches, if so, skip the lookup.
SPEAKER_00Polymorphic inline caches, chambers, and dungar in 1991. These extended inline caches to store multiple class-to-method mappings per call site, recording the actual polymorphism observed, beyond the immediate speedup of 11% median. Polymorphic inline caches collect the type profile that enables recompilation with speculative optimization. Speculative optimization, as used in V8, Hotspot, and similar engines. Modern GIT compilers use type feedback aggressively.
SPEAKER_00Step 1. Profile the types seen at each operation. Step 2. Speculate that future types will match and generate optimized code for the common case. Step 3. Deoptimize. Bail out to the interpreter. If the speculation fails, V8's turbofan compiler, for example, compiles an addition of A and B to a single integer, add instruction if it has only ever seen integers, but includes a guard and de-optimization path for the case where a string appears. This is the same pattern.
SPEAKER_00Observe a property, the types that actually appear, select an implementation, integer AD versus generic ADD, and execute. The names used in this community include type feedback or type profiling, inline caches or ICS, and polymorphic inline caches or PICs, speculative, optimization or optimistic compilation, on stack replacement or OSR, deoptimization or bailout, hidden classes or shapes or maps, and tracing jite or trace trees, key references, Deutsch and Schiffman, 1984, efficient implementation of the Smalltalk 80 system, Holzl, Chambers, and Ungar, 1991, optimizing dynamically typed object-oriented languages with polymorphic inline caches, and Holzl and Ungar, 1994, optimizing dynamically dispatched calls with runtime type feedback, section 7, databases, cost-based query optimization.
SPEAKER_00The database community has the most mature and commercially successful version of this idea. Access path selection, described by Sellinger and colleagues in 1979. The system R optimizer maintains catalog statistics about each table, cardinality, number of distinct values per column, index availability, and uses them. To choose between full table scan versus index scan, nested loop join versus hash join versus sort merge join, and different join ordering permutations.
SPEAKER_00Cost model estimates IO and CPU for each plan using a formula, cost equals page fetches plus a weight factor times RSI calls. This is exactly Rice's algorithm selection problem instantiated in the relational algebra domain. Given features of the data, the statistics, select from a portfolio of algorithms, access paths, and join methods, to minimize a cost metric, the estimated runtime, adaptive query execution in modern systems. Modern engines like Spark, Presto, and Cockroach DB go further, they change the plan mid-execution based on runtime observations.
SPEAKER_00If hash join encounters skewed data, it may switch to a sort merge join. The property is observed during execution, not just at planning time. The names used in this community include cost-based optimization, access path selection, plan enumeration or plan space search, cardinality estimation, adaptive query processing or re-optimization, and materialized view selection, key references, Sellinger and Colleagues, 1979, Access Path Selection in a Relational Database Management System, and Chowduri, 1998, an overview of query optimization in relational systems, section 8.
SPEAKER_00Array languages, runtime type specialization, array languages, APL, J, BQN, NUMPY, apply this principle more aggressively than perhaps any other family of languages, because their execution model makes it natural. The key insight in an array language, every value is a homogeneous array with a known element type. The runtime maintains the tightest possible type representation. If all values are zero or one, it uses a packed bit array, one bit per element.
SPEAKER_00If all values fit in the range negative 128 to 127, it uses an 8-bit integer array, 1 byte per element. If all values fit in negative 32,768 to 32,767, it uses a 16-bit integer array, two bytes per element. Otherwise, it uses 32-bit integers, 64-bit floats, or boxed arrays. This is called type squeezing in the APL community.
SPEAKER_00It happens automatically, invisibly to the programmer at the boundary of every primitive operation, the payoff, algorithm selection per primitive. Every primitive checks the element type tag and dispatches to a specialized implementation. CBQN sort is the canonical example. For bit arrays of any size, it uses pop count plus memset, which runs in O of n over 64 time. For 8-bit integers or characters with fewer than 16 elements, it uses insertion sort in O of n squared.
SPEAKER_00For 8-bit values with fewer than 256 elements, it uses radix sort with one pass in O of n. For 8-bit values with 256 or more elements, it uses counting sort with a simmed histogram in O of N. For 16-bit integers or characters with fewer than 20 elements, it uses insertion sort for 16-bit values below 2 the 15th elements. It uses radicx sort with two passes in O of n. For 16 bit values, at or above two to the 15th, it uses counting sort.
SPEAKER_00For 32 bit integers or characters, with fewer than 32 elements, it uses insertion sort. For 32 bit values with 32 or more elements, it uses radix sort with four passes in O of N. For sixty-four bit floats, it uses comparison-based Tim sort in O of N log n. And for boxed arrays, it also uses comparison-based TIM sort. This is not two to weigh dispatch. It's a 10 plus way decision tree, combining element type, array length, value range, and sortedness flags.
SPEAKER_00Each leaf is a hand-tuned implementation, often with SYMD intrinsics generated by CBQN Singular compiler, why this beats C ⁇ and Rust. The fundamental asymmetry in C ⁇ , calling STD sort on a string, the compiler knows the element type, char, but generates a single generic comparison sort. It cannot know at compile time that the string contains only zeros and ones, so it cannot select counting sort. CBQN checks at runtime and always selects the optimal algorithm.
SPEAKER_00The overhead of the type check is a single branch on an integer tag, perhaps one nanosecond, but the payoff is selecting an O of n algorithm instead of O of N log N, or an O of N over sixty-four algorithm instead of O of N. The Boolean advantage in detail. When CBQN evaluates a character comparison, testing each character against the character one, it produces a packed bit array, one thousand Booleans stored in one hundred and twenty five bytes, which is six six hundred sixty-four bit words, not one thousand bytes.
SPEAKER_00Every subsequent operation gets a cascading advantage. First, eight times less memory traffic, one hundred and twenty five bytes fits in two cache lines. Second, sixty-four times implicit parallelism. Pop count processes sixty four elements per instruction. Third, an algorithm upgrade. Sort becomes count plus fill, and sum becomes pop count. No C standard library function converts a string comparison result to a bit set, and then pop count sorts it.
SPEAKER_00You could write this by hand, but the array language runtime does it automatically for every operation, every time. The names used in this community include type squeezing or type narrowing, representation specialization, internal type or storage type as documented on APL wiki, element type dispatch, and packed Boolean Optimization, Key References, Bernecki, 2016, SIMD Boolean Array Algorithms, Breed, 1966, the APL Backslash 360 implementation, which introduced Packed Boolean storage for APL, and Cing, 1986, Program Analysis and Code Generation in an APL slash 370 compiler.
SPEAKER_00Section 9. Auto-tuning, empirical, algorithm selection. Some systems don't analyze properties analytically. They measure which algorithm is fastest and cache the result. FFW. Introduced by Frigo and Johnson in 1998. FFW computes the discrete Fourier transform by first decomposing the problem into a tree of subproblems called codelates. Then, at install time or first use, it tries all reasonable decompositions and measures wall clock time.
SPEAKER_00Finally, it caches the fastest plan for each transform size. The property observed is the transform size plus hardware characteristics. The selection is purely empirical. FFW consistently matches or beats bender-tuned FFT libraries because it explores a space that no human would manually optimize for each hardware target. Atlas. Introduced by Whaley and Donghara in 1998, Atlas autotunes dense linear algebra, specifically BLAS.
SPEAKER_00For matrix multiplication, it searches over block sizes for cache tiling, loop orderings, unroll factors, and register allocation strategies. The property is the hardware's cache hierarchy, pipeline depth, and register count, measured empirically, not specified by the programmer. Heidi. Introduced by Reagan Kelly and colleagues in 2012, Halide separates image processing algorithms from their schedules, tile sizes, Decisions, vectorization, parallelism.
SPEAKER_00The schedule is a separate artifact that can be written by hand, auto-tuned via stochastic search, or learned by a neural network as shown by Adams and colleagues in 2019. The key contribution is making the distinction between what to compute and how to compute it, explicit and first class. The names used in this community include auto tuning or self-tuning, plan selection or planning, adaptive optimization, empirical optimization, schedule search in halide, and polyhedral optimization when loop transformations are the search space.
SPEAKER_00Key references, Frigo and Johnson, 1998, FFTW, an adaptive software architecture for the FFT. Whaley and Dongara, 1998, automatically tuned linear algebra software. And Reagan Kelly and Colleagues, 2013, Haylead, a language and compiler for optimizing parallelism, locality, and recomputation in image processing pipelines. Section 10, Adaptive Algorithms, Introspection at the Algorithm Level.
SPEAKER_00Some algorithms observe properties of their own execution and switch strategies mid-run, Introsort, introduced by Musser in 1997. Introsort begins as quick sort but monitors the recursion depth. If partitioning is degenerating toward O of N squared behavior, it switches to heapsort. The property observed is the depth of the recursion tree, a proxy for input adversariality. This became the default standard sort in most C standard libraries.
SPEAKER_00Timsort, introduced by Tim Peters in 2002. Timsort scans for natural runs, subsequences already in order, and merges them. On already sorted data, it runs in O of N. On random data, it degrades gracefully to O of N log N. The property observed is the presortedness of the input, pattern defeating quicksort, introduced by Orson Peters in 2021. PDQ sort detects several patterns. Already sorted input gets linear time.
SPEAKER_00Few unique elements trigger Dutch national flag. Partitioning. Adversarial input falls back to heap sort. Normal input uses quicksort with block quicksort. Partition. This is a four-way dispatch based on runtime properties of the input distribution happening inside a single sort call. The names used in this community include adaptive algorithms, introspective algorithms, hybrid algorithms, input-sensitive algorithms, and instance optimal algorithms.
SPEAKER_00Key references, Musser, 1997, Introspective Sorting and Selection Algorithms, Peters, 2002, the TIMSort description on the Python Development Mailing List, and Orson Peters, 2021, Pattern Defeating Quick Sort. Section 11, Hardware Level, Function Multiversioning, and iFunk. Even at the level of individual machine instructions, the same pattern appears. GLII Funk. DLIBC compiles multiple versions of MemCPy, StorLN, STRCMP, and other functions.
SPEAKER_00One for SSE2, one for AVX2, one for AVX512. At program load time, a resolver function checks CPU at flags and patches the PLT entry to point to the fastest version. The property observed is the CPU's instruction set support. The selection happens once at program startup. GCC function, multiversioning. GCC allows you to annotate multiple versions of the same function with different target attributes. For example, one targeting AVX2 and one targeting SSE2.
SPEAKER_00GCC automatically generates the resolver and dispatch code, CBQN's Singuli. CBQN takes this further with Singili, a custom domain-specific language that generates SIMD code for multiple architectures from a single specification. Each primitive gets versions for Scalar, SSE2, AVX2, AVX512, and NEON, with runtime dispatch to the best available. The names used in this community include function multiversioning, or FMV, CPU dispatch, or feature dispatch, iFunc or GNU indirect functions, CPU-based dispatch, and microarchitecture tuning, section 12, functional programming, rewrite rules and fusion.
SPEAKER_00Haskell's GHC compiler applies rewrite rules, programmer-specified equational transformations, to select more efficient implementations. For example, a rule specifying that mapping F over the result of mapping G over a list is the same as mapping the composition of F and G over the list in one pass, deforestation, and fusion. Wadler introduced deforestation 1990, eliminating intermediate data structures in compositions of list functions. Stream fusion, developed by Coots, Lashinsky, and Stewart in 2007, generalized this using rewrite rules to fuse map, filter, fold, zip, and more into single passes.
SPEAKER_00The property here is the syntactic structure of the composition. If the compiler can see that a producer feeds directly into a consumer, it can fuse them. The selection is between allocate an intermediate list and traverse twice versus execute a single fused loop. The names used in this community include deforestation, stream fusion, or shortcut fusion, rewrite rules, equational reasoning, and build folder fusion, key references, Waddler, 1990, Deforestation, Transforming Programs to Eliminate Trees, and Coots, Lashinsky, and Stewart, 2007, Stream Fusion from Lists to Streams to Nothing at all, Section 13.
SPEAKER_00The Unifying Framework. John R. Rice formalized the general version in 1976 as the algorithm selection problem, given a problem instance with observable features. Select an algorithm from a portfolio that optimizes a performance metric. Every system in this paper is an instantiation. CBQN sort observes element type and array length, selects from 10 plus sort implementations, and optimizes for time. C tag dispatch observes iterator category, selects between O of 1 and O of N advance, and optimizes for time complexity.
SPEAKER_00System R observes table statistics and indexes, selects among scan, index, and join variance, and optimizes for estimated IOV. 8. TurboFan observes types at call sites, selects between specialized and generic code, and optimizes for time. FFTW observes transform size and hardware, selects among co-delay decomposition trees, and optimizes for measured time. Intrasort observes recursion depth, selects between quick sort and heapsort, and optimizes for worst-case time.
SPEAKER_00DLIBCI Funk observes CPU feature flags, selects among SSE2, AVX2, and AVX 512 versions, and optimizes for throughput. GHC, rewrite rules, observe syntactic structure, select between fused and unfused code, and optimize for allocations. Rice's framework reveals that these communities are solving the same optimization problem with different feature spaces, portfolios, and metrics. Key reference, Rice, 1976, the algorithm selection problem, published in Advances in Computers, Section 14, a taxonomy of what is known.
SPEAKER_00The systems differ along several axes. First, when the property is observed, at compile time, C tag dispatch, concepts, templates, and Rust traits, at load time, GLI, BCE, iFunk, and single E CPU dispatch. At first use, FFTW plan caching, and JIT inline cache. In every call, CBQN type dispatch and database adaptive execution, mid-execution, intro sort, TIM sort, and adaptive query processing.
SPEAKER_00Second, what property is observed, type, element type, iterator category, receiver class, value range, type squeezing, bit packing, counting sort eligibility, size, insertion sort for small n, radix, sort for large n. Distribution, sortedness, sparsity, skew, hardware, CPUD, cache sizes, memory bandwidth, syntactic form, rewrite rules, and fusion. Third, how the selection is made, static dispatch, C overloading, Rust traits, Haskell type classes, lookup table, CBQN's type tag to function pointer array, decision tree, CBQN sort, combining type and size branches, cost model, database query optimizer, empirical search, FFTW, Atlas, Halide auto tuning, speculation, JIT, optimistic compilation, plus deoptimization.
SPEAKER_00Fourth, whether the programmer participates, invisible, CBQN type squeezing, JIT type feedback, opt-in, C concepts, Haskell type classes, manual, writing, FFTW wisdom files, halide schedules, section 15, why this matters, the fragmentation is harmful. Each community has developed sophisticated solutions to the algorithm selection problem, but the solutions are largely siloed. Database researchers don't cite the partial of evaluation literature.
SPEAKER_00Array language. Decompiler papers don't reference adaptive algorithm theory. Auto-tuning researchers don't connect to type class resolution. This means that insights don't transfer. CBQN's multi-level type by size by value range dispatch tree is a remarkable piece of engineering. But it was developed in isolation from the algorithm selection literature that could have informed its design space. Conversely, the algorithm selection community focuses on machine learning for feature extraction, while CBQN shows that handcrafted decision trees work beautifully when the feature space is small and well understood.
SPEAKER_00The principle is becoming more important, not less. As hardware becomes more heterogeneous, CPUs with mixed core types, GPUs, NPUs, varying CYMD widths. And as data becomes more diverse, sparse streaming, compressed, encrypted, the cost of choosing the wrong algorithm increases. A single generic implementation is increasingly far from optimal. What a unified theory would look like. A truly unified framework would do four things.
SPEAKER_00First, characterize the feature space. What properties of the data, hardware, and computation context are worth observing? Second, define the portfolio. What implementations are available, and what are their cost models? Third, specify the selection mechanism. Static dispatch, dynamic lookup, cost model, empirical search, or learned model. Fourth, bound the overhead. What is the cost of observing the feature and making the selection? And when does it pay off? Partial evaluation provides the theoretical foundation.
SPEAKER_00Rice's framework provides the problem formulation. The practical systems surveyed here provide a rich catalog of solutions. What's missing is the synthesis, section 16. Bibliography. Foundational works, Rice, 1976, The Algorithm Selection Problem. In advances in computers, Futamura, 1971. Partial Evaluation of Computation Process, an approach to a compiler, compiler. Jones, Gomard, and Sestoft, 1993.
SPEAKER_00Partial Evaluation and Automatic Program Generation. Generic Programming. Stepanov and Mac Jones, 2009. Elements of Programming. Musser and Stepanov, 1994. Algorithm-oriented generic libraries, Czarnecki and Eisnecker, 2000. Generative Programming, Methods, Tools, and Applications. Deutsch and Schiffman, 1984. Efficient implementation of the Smalltalk 80 system. Holzell, Chambers, and Ungar, 1991.
SPEAKER_00Optimizing dynamically typed object-oriented languages with polymorphic inline caches. Common Lisp Object System Specification. Databases, Sellinger and Colleagues, 1979. Access Path Selection in a Relational Database Management System. Auto Tuning. Frigo and Johnson, 1998.
SPEAKER_00FFTW, an adaptive software architecture for the FFT. Whaley and Dongara, 1998. Automatically tuned linear algebra software. Reagan Kelly and Colleagues, 2013. Halide, a language and compiler for optimizing parallelism, locality, and recomputation in image processing pipelines. Adaptive algorithms, Musser, 1997. Introspective sorting and selection algorithms, Peters, 2002, the TimSort Description, Orson Peters, 2021.
SPEAKER_00Pattern Defeating Quicksort. Functional Programming, Waddler, 1990. Deforestation. Stream Fusion. From lists to streams to nothing at all. Array Languages, Bernecki, 2016. SimD Boolean Array Algorithms, Ching, 1986. Program analysis and code generation in an APL slash 370 compiler.
SPEAKER_00Closing note. This document was motivated by observing CBQN, a BQN interpreter, outperform compiled Rust and C on a string sorting benchmark, not through better hardware. Utilization alone, but through selecting fundamentally different algorithms based on data properties that the compiled languages standard libraries ignore.
In this episode, Conor highlights the On Notation keynote at RacketCon 2026 and the work of Pat Hanrahan, the latter part of the episode is a Notebook LLM generated conversation. Socials Tacit Talk YouTube Playlist...
In this episode, Conor interviews Madeline Vergani about TinyAPL 0.13, inverses, AP8L and more! Socials Tacit Talk YouTube Playlist Conor Hoekstra: LinkTree / Bio About the Guest Madeline Vergani is the creator of...
In this episode, the 1972 paper "Algebra as a Language" by Kenneth E. Iverson is read by the Speechify text-to-speech app. Socials Tacit Talk YouTube Playlist Conor Hoekstra: LinkTree / Bio Show Notes Date Released:...
In this episode, the "From List Calculus to Array Calculi" (generated by GPT 5.4) is read by the Speechify text-to-speech app. Socials Tacit Talk YouTube Playlist Conor Hoekstra: LinkTree / Bio Show Notes Date Released:...
In this episode, the "Richard Bird's Algebraic Laws for Program Calculation" which is a summary of the important papers that introduced the algebraic laws of programming (generated by Claude 4.6 Opus) is read by the...