~/talk

Applying NASA Coding Guidel ines to Java Script

Talkat Heapcon 2019 · 2019-10-03..10-04· [javascript, compilers-and-language-design]
slides:none on file

Applies JPL/NASA coding rules to JavaScript and shows a working HTML/JS JavaScript aircraft instrument that actually flew over Amsterdam at ~1,000 m for several minutes without failure. Claims: follow short functions, simple control flow, fixed-loop bounds, two assertions per function (runtime assertions + unit tests), smallest possible scope, check return values, limit transpilation/bundling. Practices shown: ESLint on hooks, TypeScript for types, devtools memory profiling, object pooling, cleaning listeners; result: prototype works and highlights reliability gains.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Unification in software
  3. 6:43JavaScript for aircraft instruments
  4. 10:37NASA coding guidelines overview
  5. 12:04Rule one keep functions short
  6. 13:33Rule two control flow predictability
  7. 15:21Rule three respect memory
  8. 19:14Rule four fixed loop bounds
  9. 19:34Rule five test assertions
  10. 21:19Rule six minimize shared state
  11. 22:06Rule seven validate returns
  12. 23:09Bundling performance impact
  13. 25:44Rule nine restrict pointers
  14. 27:18Test from day one
  15. 29:54Future of JavaScript in serious systems
  16. 30:17Q&A on code comments
~/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.