arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.03138cs.SE
收藏

并发开发人员的兴趣、困难、情感和工具使用:对堆栈溢出的大规模研究

Interests, Difficulties, Sentiments, and Tool Usages of Concurrency Developers: A Large-Scale Study on Stack Overflow

Mehdi Bagherzadeh, Syed Ahmed, Srilakshmi Sripathi, Raffi Khatchadourian

摘要:

上下文:软件开发人员越来越多地面临编写不仅并发而且正确的代码的挑战。目的:为了帮助这些开发人员,有必要了解他们感兴趣的并发主题,他们在这些主题中寻找问题答案的困难,他们对这些主题的情感,以及他们如何使用并发工具和技术来保证正确性。方法:我们对整个Stack Overflow进行了大规模的研究,以了解并发开发人员的兴趣,困难,情绪和工具使用情况。我们讨论了我们的研究结果的影响,并行软件开发的实践,研究和教育,并调查我们的研究结果与以前的工作结果的关系。结果如下:我们的研究发现如下:(1)并发开发人员提出的问题可以被分组到具有8个主要类别下的27个并发主题的层次结构中,(2)线程安全是最流行的并发主题之一,而客户端-服务器并发是最不流行的并发主题之一,(3)不可再现的行为是最困难的主题之一,而存储器一致性是最不困难的主题之一,(4)数据抓取是最积极的并发主题之一,而不可复制的行为是最消极的,(5)根本原因识别对于数据竞争工具的使用具有最多的问题,而替代使用具有最少的问题。结论:我们的研究结果不仅可以帮助并发开发人员,而且并发教育工作者和研究人员更好地决定在哪里集中精力,通过权衡一个并发主题对另一个。

英文摘要:

Context: Software developers are increasingly facing the challenges of writing code that is not only concurrent but also correct. Objective: To help these developers, it is necessary to understand concurrency topics they are interested in, their difficulty in finding answers for questions in these topics, their sentiment for these topics, and how they use concurrency tools and techniques to guarantee correctness. Method: We conduct a large-scale study on the entirety of Stack Overflow to understand interests, difficulties, sentiment, and tool usages of concurrency developers. We discuss the implications of our findings for the practice, research, and education of concurrent software development, and investigate the relation of our findings with the findings of the previous work. Results: A few findings of our study are: (1) questions that concurrency developers ask can be grouped into a hierarchy with 27 concurrency topics under 8 major categories, (2) thread safety is among the most popular concurrency topics and client-server concurrency is among the least popular, (3) irreproducible behavior is among the most difficult topics and memory consistency is among the least difficult, (4) data scraping is among the most positive concurrency topics and irreproducible behavior is among the most negative, (5) root cause identification has the most number of questions for usage of data race tools and alternative use has the least. Conclusion: The results of our study can not only help concurrency developers but also concurrency educators and researchers to better decide where to focus their efforts, by trading off one concurrency topic against another.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑