Can Go address the multicore issues of today and the manycore problems of tomorrow? - IN2P3 - Institut national de physique nucléaire et de physique des particules Access content directly
Conference Papers Year : 2012

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

S. Binet
  • Function : Author
  • PersonId : 864830

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.

Dates and versions

in2p3-00714456 , version 1 (04-07-2012)

Identifiers

Cite

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⟩
36 View
0 Download

Altmetric

Share

Gmail Mastodon Facebook X LinkedIn More