ScienceDirect® Home Skip Main Navigation Links
You have guest access to ScienceDirect. Find out more.
 
Home
Browse
My Settings
Alerts
Help
 Quick Search
 Search tips (Opens new window)
    Clear all fields    
Computer Communications
Volume 17, Issue 3, March 1994, Pages 156-171
 
Font Size: Decrease Font Size  Increase Font Size
 Abstract - selected
Purchase PDF (1531 K)

 
 
 
Related Articles in ScienceDirect
View More Related Articles
 
View Record in Scopus
 
doi:10.1016/0140-3664(94)90003-5    How to Cite or Link Using DOI (Opens New Window)
Copyright © 1994 Published by Elsevier Science B.V.

High-performance ASN.1 compiler

Michael Sample and Gerald Neufeld

Department of Computer Science, University of British Columbia, Vancouver, B.C. V6T 1Z2, Canada

Received 10 May 1993; 
revised 24 September 1993. 
Available online 14 August 2003.

Purchase the full-text article



References and further reading may be available for this article. To view references and further reading you must purchase this article.

Abstract

The tasks of encoding and decoding complex data structures for network transmission are more expensive in terms of processor time and memory usage than any other components of the protocol stack. We examined the performance of four network data representation standards: ASN.1 Basic Encoding Rules (BER) and Packed Encoding Rules (PER). We also compare our implementations for BER and PER against the Sun Microsystem's External Data Representation (XDR) and HP/Apollo's Network Data Representation (NDR). To help examine implementation issues, we designed the snacc ASN.1 compiler that produces compile-based (C and C++) and table-based encoders and decoders as well as type tables. The implementation issues investigated include compiled versus table-based encoding and decoding, implementation language (C/C++), buffering techniques and memory management. We found that the areas crucial to efficient encoder and decoder implementations are memory management, buffer management and the overall simplicity of the encoding rules. Table-based encoders and decoders typically have considerably smaller code size but perform less efficiently than their compiled counterparts. In contrast to popular belief, it is possible to implement ASN.1 BER and PER encoders and decoders that perform as well as their NDR and XDR counterparts.

Author Keywords: ASN.1 compiler; network data representations; BER; PER; XDR; NDR

Article Outline

• References
• References

Computer Communications
Volume 17, Issue 3, March 1994, Pages 156-171
 
Home
Browse
My Settings
Alerts
Help
Elsevier.com (Opens new window)
About ScienceDirect  |  Contact Us  |  Information for Advertisers  |  Terms & Conditions  |  Privacy Policy
Copyright © 2008 Elsevier B.V. All rights reserved. ScienceDirect® is a registered trademark of Elsevier B.V.