Learn · CERN

Talk25 min

Improving Standard C++ for the Physics Community

M. Paterno · CERN

Watch At CERN

About

As Fermilab's representatives to the C++ standardization effort, we have been promoting directions of special interest to the physics community. We here report on selected recent developments toward the next revision of the C++ Standard. Topics will include standardization of random number and special function libraries, as well as core language issues promoting improved run-time performance.

The random number library provides an extensible framework for random number generators. It includes a handful of widely-used and high-quality random number engines, as well as some of the most widely-used random number distributions. The modular design makes it easy for users to add their own engines, and perhaps more importantly their own distributions, on an equal footing with those in the library.

The special functions library contains many of the commonly-used functions of mathematical physics. These include a variety of cylindrical and spherical Bessel functions, Legendre and associated Legendre functions, hypergeometric and confluent hypergeometric functions, among others.

We also report on an ongoing analysis, and proposal for core language additions, with the goal of improved run-time performance. Current compilers routinely perform inter-procedural flow analysis within a compilation unit. These additions would allow compilers to perform comparable analysis between compilation units, and to optimize code based on their findings..

0:00:00 Slide 1

0:01:14 Slide 2

0:02:27 Slide 3

0:04:54 Slide 4

0:07:21 Slide 5

0:09:47 Slide 6

0:12:14 Slide 7

0:14:41 Slide 8

The talk

  1. Improving Standard C++ for the Physics Community 2004-09-30 · 25 min · CERN's player

Credits and licence

Institution
CERN
Department
Conferences
Speaker
M. Paterno
Year
2004
Language
English
Subjects
Physics
Source
CERN
Licence
CERN, as CERN states it. CERN's terms
Attribution
© CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
Who can watch
CERN gives no rating. Invisible Network shows it to Tweens profiles and older, judged from what the source says about it. How courses are placed