GRENZE International Journal of Engineering and Technology
Vol. 9
(2023), Issue 2
The Impact on Open Source Projects Due to C++ Templates and Lambdas
Authors
Bushra Shaikh, Vandana Jagtap, Uma Pujeri, Ayush Shukla
Abstract
New language features are being added to programming languages in an effort to improve the creation of high-quality software. As they have their own benefits and drawbacks, these new features are not always well received by the programming community as a whole. Templates and lambdas have drawn a lot of attention among these features and have been included into a number of programming languages, including C++, Java, and C#. Researchers have carried out a number of investigations in various experimental scenarios spanning many programming languages to get insights into their real-world use.Using the same experimental setup as was used for Java and C# in prior studies, we present an empirical replication research in this one that focuses on open-source C++ projects. We analyse open-source C/C++ projects using an extension of our static analysis tool and collect quantitative data to look into how templates and lambdas are used. Our research shows that C++ templates are often used by projects and developers, demonstrating their wide adoption and value. In contrast, the employment of C++ lambdas is somewhat restricted. Interestingly, these findings are consistent with studies done in other programming languages and experimental settings, offering important insights into programming community preferences and trends regarding the use of templates and lambdas in open-source projects
Pages:
1530 - 1537