REAL

Comprehensive performance analysis of C++ smart pointers

Babati, Bence and Pataki, Norbert (2017) Comprehensive performance analysis of C++ smart pointers. Pollack Periodica, 12 (3). pp. 157-166. ISSN 1788-1994

[img]
Preview
Text
606.2017.12.3.14.pdf

Download (168kB) | Preview

Abstract

Smart pointers play an important role in bypassing memory leaks in C++. Since C++11 standard the smart pointers have become widely-used tools because they let the programmers not to deal with memory deallocation. However, abstraction penalty occurs because of this convenience. Overhead is related to runtime, memory usage and compilation time. There are many different smart pointers in the standard library. However, the performance difference between the smart pointers and raw pointers is not measured before. This paper presents an analysis of their effectiveness. An alternative approach to the C++17’s optional construct is searched for.

Item Type: Article
Subjects: T Technology / alkalmazott, műszaki tudományok > TA Engineering (General). Civil engineering (General) / általános mérnöki tudományok
Depositing User: Erika Bilicsi
Date Deposited: 02 Nov 2017 03:56
Last Modified: 31 Dec 2019 00:18
URI: http://real.mtak.hu/id/eprint/66602

Actions (login required)

Edit Item Edit Item