~/talk

What FP Can Learn From Static Introspection

github:deech
slides:none on file

Static introspection and compile‑time function evaluation get concrete with Nim and D demos: compile‑time CSV parsing makes lookups instant but inflates a 2.4 MB CSV into a ~22 MB binary and raises compile times from ~1.5s to 10s; CT regex shows no speed win versus runtime; sample JSON becomes real types and parsing like compile‑time JSON to types / F# type providers; a type‑safe printf is implemented at compile time; warns of lost modularity, broken parametricity and weakened IDE predictive power.

AI-written summary · about

  1. 0:00What is Static Introspection
  2. 1:00Compile Time Function Evaluation
  3. 1:52Performance
  4. 4:48Examples
  5. 5:13Realworld Examples
  6. 5:42NoNIMD evangelism
  7. 6:25compiletime evaluation
  8. 7:07hello
  9. 8:10static introspection in d
  10. 14:14prime ality tester
  11. 15:16performance is hard
  12. 16:10common code paths
  13. 17:42fast lookups
  14. 17:56object
  15. 18:44gather fields
  16. 19:13compile
  17. 19:28ghc
  18. 20:23list filtering
  19. 21:06domainspecific tooling
  20. 22:10datatype dipping
  21. 23:30data massaging
  22. 24:02data type migration
  23. 25:28compile time JSON parsing
  24. 28:07sample data structure
  25. 29:46Compiletime type reflection
  26. 32:23Fsharp type providers
  27. 34:03Typesafe printf
  28. 40:02Domainspecific user customizable holes
  29. 41:29Problems
  30. 42:03Loss of modularity
  31. 44:55Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.