liu.seSearch for publications in DiVA
Change search
ReferencesLink to record
Permanent link

Direct link
Ada code generation support for Google Protocol Buffers
Linköping University, Department of Computer and Information Science, Database and information techniques. Linköping University, The Institute of Technology.
2013 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

We now live in an information society where increasingly large volumes of data are exchanged between networked nodes in distributed systems. Recent years have seen a multitude of dierent serialization frameworks released to efficiently handle all this information while minimizing developer effort. One such format is Google Protocol Buers, which has gained additional code generation support for a wide variety of programming languages from third-party developers.

Ada is a widely used programming language in safety-critical systems today. However, it lacks support for Protocol Buffers. This limits the use of Protocol Buffers at companies like Saab, where Ada is the language of choice for many systems. To amend this situation Ada code generation support for Protocol Buffers has been developed. The developed solution supports a majority of Protocol Buffers' language constructs, extensions being a notable exception.

To evaluate the developed solution, an artificial benchmark was constructed and a comparison was made with GNATColl.JSON. Although the benchmark was artificial, data used by the benchmark followed the same format as an existing radar system. The benchmark showed that if serialization performance is a limiting factor for the radar system, it could potentially receive a significant speed boost from a substitution of serialization framework. Results from the benchmark reveal that Protocol Buffers is about 6 to 8 times faster in a combined serialization/deserialization performance comparison. In addition, the change of serialization format has the added benefit of reducing size of serialized objects by approximately 45%.

Place, publisher, year, edition, pages
2013. , 84 p.
Keyword [en]
Serialization, Google Protocol Buffers, Ada, GNATColl.JSON
National Category
Computer Systems
URN: urn:nbn:se:liu:diva-102688ISRN: LIU-IDA/LITH-EX-A--13/062—SEOAI: diva2:690878
External cooperation
Saab Security and Defence Solutions
Subject / course
Computer Engineering
2013-11-08, Donald Knuth, Linköpings universitet, Linköping, 14:15 (Swedish)
Available from: 2014-01-29 Created: 2013-12-18 Last updated: 2014-01-29Bibliographically approved

Open Access in DiVA

Ada code generation support for Google Protocol Buffers(1707 kB)713 downloads
File information
File name FULLTEXT02.pdfFile size 1707 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Ekendahl, Niklas
By organisation
Database and information techniquesThe Institute of Technology
Computer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 713 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 1380 hits
ReferencesLink to record
Permanent link

Direct link