diff --git a/ideas/passepartout-economics.org b/ideas/passepartout-economics.org index 9754eb6..f9c39ac 100644 --- a/ideas/passepartout-economics.org +++ b/ideas/passepartout-economics.org @@ -407,3 +407,86 @@ knowledge (craft expertise, organizational culture). Consequence for the transition timeline: Phase 2 (sufficiency) happens within months for any domain whose rule book is published. The disruption accelerates from years to quarters. + +* Broader Insights + +** The historical fork: Lisp vs C as hardware economics + +C is not inherently more efficient than Lisp. It is more efficient on +machines designed for C. The RISC revolution, commodity DRAM, and the PC +ecosystem optimized hardware for C's execution model (static compilation, +explicit memory, flat address space). This was an economic choice from the +1980s, not a technical verdict. + +A Lisp Machine makes Lisp efficient by making cons cells hardware primitives, +type tags a parallel path in the ALU, and function dispatch a microcoded +instruction. On such hardware, C would feel bloated — manual memory +management becomes unnecessary overhead, static types become rigid +constraints, separate compilation becomes a workaround for a limitation +the hardware doesn't have. + +The gap people feel ("Lisp is elegant but C is practical") is the distance +between human thought and machine operation, not the distance between Lisp +and efficiency. Lisp minimizes the distance to human thought. C minimizes +the distance to the silicon. The Lisp Machine was the only architecture that +attempted to close both at once. + +** How Passepartout could reverse the fork + +A software ecosystem changing hardware economics has never happened before. +Passepartout's most realistic path: verification appliances for regulated +industries — RISC-V cores with Lisp microcode on FPGA, sold as hardened +devices for healthcare compliance, defense, and industrial control. + +Not a general-purpose Lisp Machine replacing laptops. A specialized device +where correctness is worth paying for. If such appliances sell in the +hundreds of thousands, the economics of a custom Lisp ASIC start to make +sense. The reversal is not Lisp returning as a general platform, but Lisp +winning a vertical important enough to justify its own silicon. + +The path: Passepartout software (AGPL) → creates demand for verified +infrastructure → verification appliance (FPGA, RISC-V + Lisp μcode) → +high-volume niche → custom ASIC economics viable → Lisp native hardware +exists for the first time since the Symbolics era. + +** Lisp vs C for embedded systems + +- Lisp can match C for low-level work through compile-to-C paths (ECL, + PreScheme) or tiny Lisps (uLisp, FemtoLisp, BitLisp for RISC-V) +- The GC is the hard wall for hard real-time; mitigated by pre-allocation, + no-alloc hot paths, or real-time GC +- Most practical path: "Lisp as macro language for C" — generate C from + Lisp macros, ship the compiled binary. This is how NASA's Deep Space 1 + worked: Lisp planning on Earth generated commands for C flight software. +- The Lisp Machine on commodity FPGA (RISC-V softcore + Lisp μcode on + Artix-7 / iCE40) is the ambitious path — Lisp down to the metal for $50. + +** Microbiology works like Lisp, not C + +Striking parallels: + +1. Homoiconicity — DNA is code and data in the same molecule; no separate + source and binary +2. Hot-reloadable image — alternative splicing, epigenetic marks, + post-translational modifications change the running program without + restart +3. Automatic memory management — proteasomes degrade misfolded proteins, + autophagy recycles organelles; the cell never calls free() +4. Interpreted dynamic language — DNA → RNA → ribosome (interpreter) → + protein; no static compilation step +5. Self-modifying source — CRISPR, transposons, DNA repair modify the + genome at runtime; eval on the genome +6. Duck typing — protein folding depends on chemical environment, not + type declarations; interfaces are shape-matching, not compiler-checked +7. Concurrent real-time GC — apoptosis breaks down cell components for + recycling by neighboring cells; the collector is external to the object + +Biology chose the Lisp model because it is more robust, adaptable, and +evolvable. Evolution paid for the overhead (GC, interpretation, dynamic +dispatch) with parallelism and redundancy. It optimized for survival in +an unpredictable environment, not peak single-thread throughput. + +Biology is the proof that the Lisp model can be efficient at planetary +scale, running on hardware that self-assembles from food. The ceiling +Passepartout aims at is still far below the system that wrote itself +in DNA.