~/talk

Daffodil How Functional Programming leads to tight C code at Runtime

links:none on file
slides:none on file

Shows that a Scala compiler using lazy attribute grammars and aggressive lazy evaluation turns DFDL schemas into tight, hand-comparable C by generating structs, unions and direct parse/unparse calls. The project is Apache Daffodil with a 720,000-line TDML test suite and ~115,000 lines of Scala; the new runtime2 C generator emits flat, statically allocated C, drops backtracking and huge heaps, and already produces correct parsers for small schemas. Example: a 174-byte binary message inflates to 1,493 bytes as XML but remains ~160 bytes as EXI.

AI-written summary · about

  1. 0:00Introduction
  2. 1:35What is Daffodil
  3. 2:30ISO 853
  4. 3:35Daffodil Innovations
  5. 4:30Daffodil Unparsing
  6. 5:20Data Conversion
  7. 7:15Daffodil Infoset
  8. 8:25Daffodil in Scala
  9. 9:20The C Runtime
  10. 9:45Whats in Daffodil
  11. 10:15Daffodil for Space
  12. 11:20How Compilers Work
  13. 12:35Lazy Evaluation
  14. 14:30Schema Model
  15. 15:15Attribute Grammars
  16. 17:40Lazy Evaluation Initiative
  17. 23:20Leg Hosts
  18. 25:50Grammar Tree
  19. 26:20Optimizer Framework
  20. 28:29Runtime
  21. 29:07Schema
  22. 29:44Runtime 2 goals
  23. 30:59Runtime 2 infoset
  24. 32:30How Runtime 2 works
  25. 33:22Simple schema
  26. 34:18Union structure
  27. 35:10Unparse
  28. 35:59Error Handling
  29. 36:33Data Format Debugger
  30. 37:55EXI
  31. 40:53Questions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.