HomeServicesIndustriesResourcesAbout UsContact


Resources

Tech Talk


Mantaro - Tech Talk

Tech Talk is a series of white papers created by engineers at Mantaro to share our knowledge in different technical areas. With a diverse and progressive set of clients, Mantaro has a rich history of staying at the leading edge of the technology curve. To keep the entire engineering team updated on the latest tools, trends, and technology, Mantaro holds regular meetings where engineers share their findings. Tech Talk captures this information in the form of white papers which are made available to the general pubic through our website. If you have any questions or comments, please email us techtalk@mantaro.com

Current Topic: Efficiently Coding Communications Protocols in C++

Using object oriented programming in C++ can improve the developer’s efficiency in implementing communications protocols. With careful use, C++ does not add intolerable overhead to executing communications protocol software. This paper will review how to:
  • Use C++ classes to implement protocol layers
  • Use a tasking/queuing model that cuts across protocol layers efficiently
  • Reduce overhead in creating message buffers.

An implementation is presented that uses C++ classes to implement a layered protocol. This implementation also demonstrates how the tasking/queuing model can be separated from the layered implementation. Methods for efficiently parsing message headers and use caching for low overhead creation of message buffers are also reviewed.
Download the White Paper