Go-HEP:轻松编写并发软件
Go-HEP: writing concurrent software with ease and Go
摘要:
高能和核物理(HENP)库现在需要越来越多的多线程安全,如果不是多线程友好和多线程。这通常使用C++11和C++14标准提供的新结构和库组件来完成。然而,这些组件非常低级,很难使用和组合。然而,Go提供了一组更好的构建块来处理并发:goroutines和channels。这种语言现在被整个云计算行业使用:docker/moby,rkt,Kubernetes是Go的明显旗舰。但是,为了能够执行任何有意义的物理分析,需要一组基本库(矩阵运算,线性代数,绘图,I/O等)。我们提出了Go-HEP,一组软件包,可以轻松地编写并发软件,与传统的HENP C++物理库接口。
英文摘要:
High Energy and Nuclear Physics (HENP) libraries are now required to be more and more multi-thread-safe, if not multi-thread-friendly and multi-threaded. This is usually done using the new constructs and library components offered by the C++11 and C++14 standards. These components are however quite low-level and hard to use and compose. However, Go provides a set of better building blocks for tackling concurrency: goroutines and channels. This language is now used by the whole cloud industry: docker/moby, rkt, Kubernetes are obvious flagships for Go. But to be able to perform any meaningful physics analysis, one needs a set of basic libraries (matrix operations, linear algebra, plotting, I/O, ...) We present Go-HEP, a set of packages to easily write concurrent software to interface with legacy HENP C++ physics libraries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。