e-Informatica Software Engineering Journal The Use of Aspects to Simplify Concurrent Programming

The Use of Aspects to Simplify Concurrent Programming

Michał Negacz and Bogumiła Hnatkowska
Developers who create multi-threaded programs must pay attention to ensuring safe implementations that avoid problems and prevent introduction of a system in an inconsistent state. To achieve this objective programming languages offer more and more support for the programmer by syntactic structures and standard libraries. Despite these enhancements, multi-threaded programming is still generally considered to be difficult. The aim of our study was the analysis of existing aspect oriented solutions, which were designed to simplify concurrent programming, propose improvements to these solutions and examine influence of concurrent aspects on complexity of programs. Improved solutions were compared with existing by listing differing characteristics. Then we compared classical concurrent applications with their aspect oriented equivalents using metrics. Values of 2 metrics (from 7 considered) decreased after using aspect oriented solutions. Values of 2 other metrics decreased or remained at the same level. The rest behaved unstably depending on the problem. No metric reported increase of complexity in more than one aspect oriented version of program from set. Our results indicate that the use of aspects does not increase the complexity of a program and in some cases application of aspects can reduce it.
[1]Michał Negacz and Bogumiła Hnatkowska, "The Use of Aspects to Simplify Concurrent Programming", In e-Informatica Software Engineering Journal, vol. 8, pp. 27–37, 2014. DOI: 10.5277/e-Inf140102.

Get article (PDF)View article entry (BibTeX)

©2015 e-Informatyka.pl, All rights reserved.

Built on WordPress Theme: Mediaphase Lite by ThemeFurnace.