Cargando…

Writing robust C++ code for critical applications

<!--HTML-->**C++** is one of the most **complex**, expressive and powerful languages out there. However, its complexity makes it hard to write **robust** code. When using C++ to code **critical** applications, ensuring **reliability** is one of the key topics. Testing, debugging and profiling...

Descripción completa

Detalles Bibliográficos
Autor principal: OJEDA SANDONIS, Miguel
Lenguaje:eng
Publicado: 2015
Materias:
Acceso en línea:http://cds.cern.ch/record/2056259
_version_ 1780948323959570432
author OJEDA SANDONIS, Miguel
author_facet OJEDA SANDONIS, Miguel
author_sort OJEDA SANDONIS, Miguel
collection CERN
description <!--HTML-->**C++** is one of the most **complex**, expressive and powerful languages out there. However, its complexity makes it hard to write **robust** code. When using C++ to code **critical** applications, ensuring **reliability** is one of the key topics. Testing, debugging and profiling are all a major part of this kind of work. In the BE department we use C++ to write a big part of the controls system for beam operation, which implies putting a big focus on system stability and ensuring smooth operation. This talk will try to: - Highlight potential problems when writing C++ code, giving guidelines on writing defensive code that could have avoided such issues - Explain how to avoid common pitfalls (both in writing C++ code and at the debugging & profiling phase) - Showcase some tools and tricks useful to C++ development The attendees' proficiency in C++ should not be a concern. Anyone is free to join, even people that do not know C++, if only to learn the pitfalls a language may have. This may benefit future decisions on the design phase of a project.
id cern-2056259
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2015
record_format invenio
spelling cern-20562592022-11-02T22:09:31Zhttp://cds.cern.ch/record/2056259engOJEDA SANDONIS, MiguelWriting robust C++ code for critical applications1st Developers@CERN ForumConferences<!--HTML-->**C++** is one of the most **complex**, expressive and powerful languages out there. However, its complexity makes it hard to write **robust** code. When using C++ to code **critical** applications, ensuring **reliability** is one of the key topics. Testing, debugging and profiling are all a major part of this kind of work. In the BE department we use C++ to write a big part of the controls system for beam operation, which implies putting a big focus on system stability and ensuring smooth operation. This talk will try to: - Highlight potential problems when writing C++ code, giving guidelines on writing defensive code that could have avoided such issues - Explain how to avoid common pitfalls (both in writing C++ code and at the debugging & profiling phase) - Showcase some tools and tricks useful to C++ development The attendees' proficiency in C++ should not be a concern. Anyone is free to join, even people that do not know C++, if only to learn the pitfalls a language may have. This may benefit future decisions on the design phase of a project.oai:cds.cern.ch:20562592015
spellingShingle Conferences
OJEDA SANDONIS, Miguel
Writing robust C++ code for critical applications
title Writing robust C++ code for critical applications
title_full Writing robust C++ code for critical applications
title_fullStr Writing robust C++ code for critical applications
title_full_unstemmed Writing robust C++ code for critical applications
title_short Writing robust C++ code for critical applications
title_sort writing robust c++ code for critical applications
topic Conferences
url http://cds.cern.ch/record/2056259
work_keys_str_mv AT ojedasandonismiguel writingrobustccodeforcriticalapplications
AT ojedasandonismiguel 1stdeveloperscernforum