Compiling PLAN to SNAP

TitleCompiling PLAN to SNAP
Publication TypeBook Chapters
Year of Publication2001
AuthorsHicks MW, Moore J, Nettles S
EditorMarshall I, Nettles S, Wakamiya N
Book TitleActive NetworksActive Networks
Series TitleLecture Notes in Computer Science
Volume2207
Pagination134 - 151
PublisherSpringer Berlin / Heidelberg
ISBN Number978-3-540-42678-3
Abstract

PLAN (Packet Language for Active Networks) [ 3 ] is a highly flexible and usable active packet language, whereas SNAP (Safe and Nimble Active Packets) [ 12 ] offers significant resource usage safety and achieves much higher performance compared to PLAN, but at the cost of flexibility and usability. Ideally, we would like to combine the good properties of PLAN with those of SNAP. We have achieved this end by developing a compiler that translates PLANi nto SNAP. The compiler allows us to achieve the flexibility and usability of PLAN, but with the safety and efficiency of SNAP. In this paper, we describe both languages, highlighting the features that require special compilation techniques. We then present the details of our compiler and experimental results to evaluate our compiler with respect to code size.

URLhttp://dx.doi.org/10.1007/3-540-45451-9_9