Nessi_dr_quick_summary050205
Download
Report
Transcript Nessi_dr_quick_summary050205
nessi data reduction lib
structure
•
•
stateless functions
C-callable
–
•
implement in C++ (“better C” (TK), “good C” (FA)),
provide C API
nessi want to provide 4 layers
1.
2.
3.
4.
domain independent, work on primitive types
domain dependent, work on primitive types
work on individual spectrum (pixel)
work on collection of spectra
other layers for components, apps
data structures
• nessi-dr want common data structures for
“spectrum”
• design in progress
– how to associate attributes unclear
– nessi-dr leaning toward C
– my preference C++
– sticking point: IDL compatibility
the seven rules
• confusing, not shown in wrap-up, sorry
• intended to constrain implementation of
layers 1 & 2
– keep performance reasonable
• avoid dynamic allocation (“the loop killer”)
– keep code maintainable
• no globals variables, etc.