~/talk

Precise Inference of Expressive Units of Measurement Types

Talkat OOPSLA 2020 · 2020-11-15..11-20· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

PUnits is a static unit-of-measurement system that proves sound in Coq, encodes units as boolean and integer variables, and solves whole-program constraints with MaxSMT. It offers three modes—modular type checking, whole-program inference, and annotation—with annotation inserting inferred types back into source. Evaluation finds 3 unit errors in Gasflow that JScience misses, detects the known Daikon bug, produces UNSAT on 3 projects (fixing two), reduces runtime/memory >10%, and reports mode overheads (type checking ×7, inference ×49, annotation slower still).

AI-written summary · about

  1. 0:00Intro
  2. 0:15Why a Units of Measurement Type System?
  3. 3:07PUnits Workflow
  4. 3:24Modular Type Checking Workflow
  5. 4:09Whole-program Inference Workflow
  6. 4:57Whole-program Inference with Annotation Workflow
  7. 5:23PUnits Features
  8. 6:38Constraint & SMT Encodings
  9. 7:43Revisiting the Firefox Bug
  10. 9:22Evaluation
  11. 10:02What are the benefits and trade-offs of using PUnits vs. existing Java unit libraries?
  12. 10:57Can PUnits detect and prevent units-related errors in real-world projects?
  13. 11:52Is PUnits suitable to use in a real-world development environment?
  14. 12:35Related Work
  15. 12:58Conclusions
~/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.