Skip to Main content Skip to Navigation
Conference papers

Can Go address the multicore issues of today and the manycore problems of tomorrow?

Abstract : Current High Energy and Nuclear Physics (HENP) libraries and frameworks were written before multicore systems became widely deployed and used. From this environment, a 'single-thread' processing model naturally emerged but the implicit assumptions it encouraged are greatly impairing our abilities to scale in a multicore/manycore world. While parallel programming - still in an intensive phase of R&D despite the 30+ years of literature on the subject - is an obvious topic to consider, other issues (build scalability, code clarity, code deployment and ease of coding) are worth investigating when preparing for the manycore era. Moreover, if one wants to use another language than C++, a language better prepared and tailored for expressing concurrency, one also needs to ensure a good and easy reuse of already field-proven libraries. We present the work resulting from such investigations applied to the Go programming language. We first introduce the concurrent programming facilities Go is providing and how its module system addresses the build scalability and dependency hell issues. We then describe the process of leveraging the many (wo)man-years put into scientific Fortran/C/C++ libraries and making them available to the Go ecosystem. The ROOT data analysis framework, the C-BLAS library and the Herwig-6 MonteCarlo generator will be taken as examples. Finally, performances of the tools involved in a small analysis written in Go and using ROOT I/O library will be presented.
Complete list of metadatas
Contributor : Sabine Starita <>
Submitted on : Wednesday, July 4, 2012 - 4:20:18 PM
Last modification on : Wednesday, September 16, 2020 - 4:23:40 PM

Links full text





S. Binet. Can Go address the multicore issues of today and the manycore problems of tomorrow?. 14th International Workshop on Advanced Computing and Analysis Techniques in Physics Research (ACAT 2011), Sep 2011, Uxbridge, United Kingdom. pp.012017, ⟨10.1088/1742-6596/368/1/012017⟩. ⟨in2p3-00714456⟩



Record views