DocumentCode
2975560
Title
A Domain Specific Approach to Network Software Architecture: Assuring Conformance between Architecture and Code
Author
Wang, Yan ; Gaspes, Verónica
Author_Institution
CERES, Halmstad Univ., Halmstad, Sweden
fYear
2009
fDate
20-25 July 2009
Firstpage
127
Lastpage
132
Abstract
Network software is typically organized according to a layered architecture that is well understood. However, writing correct and efficient code that conforms with the architecture still remains a problem. To overcome this problem we propose to use a domain specific language based approach. The architectural constraints are captured in a domain specific notation that can be used as a source for automatic program generation. Conformance with the architecture is thus assured by construction. Knowledge from the domain allows us to generate efficient code. In addition, this approach enforces reuse of both code and designs, one of the major concerns in software architecture. In this paper, we illustrate our approach with PADDLE, a tool that generates packet processing code from packet descriptions. To describe packets we use a domain specific language of dependent types that includes packet overlays. From the description we generate C libraries for packet processing that are easy to integrate with other parts of the code. We include an evaluation of our tool.
Keywords
automatic programming; libraries; software architecture; C libraries; automatic program generation; domain specific language based approach; network software architecture; packet descriptions; packet processing; paddle; Automatic programming; Character generation; Computer architecture; Context; Cryptography; Domain specific languages; Network synthesis; Protocols; Software architecture; Software libraries; dependent types; network software; program generation; software architecture;
fLanguage
English
Publisher
ieee
Conference_Titel
Digital Telecommunications, 2009. ICDT '09. Fourth International Conference on
Conference_Location
Colmar
Print_ISBN
978-0-7695-3695-8
Type
conf
DOI
10.1109/ICDT.2009.31
Filename
5205221
Link To Document