1 | %\subsubsection{C++} |
---|
2 | \begin{frame}{Langages compilés - C++} |
---|
3 | \begin{exampleblock}{Généralités} |
---|
4 | \begin{itemize} |
---|
5 | \item langage normalisé (2003) |
---|
6 | |
---|
7 | % parce que \mode créer une ligne vide, on repete tout :\ |
---|
8 | \mode<presentation>{ |
---|
9 | \item compilateurs gratuits (gcc, Microsoft, |
---|
10 | \ldots) ou payants (icc, Borland~c, Ms~Visual~Studio, \ldots) |
---|
11 | }\mode<article>{ |
---|
12 | \item compilateurs gratuits (gcc, Microsoft |
---|
13 | \footnote{http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b\&displaylang=en}, |
---|
14 | \ldots) ou payants (icc, Borland~c, Ms~Visual~Studio, \ldots) |
---|
15 | } |
---|
16 | |
---|
17 | \item langage orienté objet |
---|
18 | \item gestion semi-automatique de la mémoire avec l'utilisation d'objets |
---|
19 | \end{itemize} |
---|
20 | \end{exampleblock} |
---|
21 | \end{frame} |
---|
22 | |
---|
23 | \begin{frame}{Langages compilés - C++} |
---|
24 | \begin{block}{Aspects scientifiques} |
---|
25 | \begin{itemize} |
---|
26 | %% CF http://calcul.math.cnrs.fr/spip.php?article4 |
---|
27 | \item pas de librairies scientifiques (matrices, analyse numérique...) ni graphiques (plot, cartographie) fournies en standard. |
---|
28 | \item existence de librairies scientifiques basées sur la "standard template library" (stl) |
---|
29 | nécessitant la connaissance de celle-ci |
---|
30 | \item possibilité d'utiliser d'autres librairies externes, souvent payantes |
---|
31 | \end{itemize} |
---|
32 | \end{block} |
---|
33 | \end{frame} |
---|
34 | |
---|
35 | \begin{frame}{Langages compilés - C++} |
---|
36 | \begin{block}{Aspects informatiques} |
---|
37 | \begin{itemize} |
---|
38 | \item réutilisation native des librairies C |
---|
39 | \item support multithread selon OS et librairies systÚme (openMP selon |
---|
40 | compilateurs) |
---|
41 | \item parallélisation via librairies externes (MPI) |
---|
42 | \item portable si le code est prévu pour, nécessite une recompilation du code |
---|
43 | \item librairies de lecture/écriture de fichiers NetCDF/HDF/FITS |
---|
44 | |
---|
45 | %% STL: http://www.sgi.com/tech/stl/ ? |
---|
46 | |
---|
47 | \end{itemize} |
---|
48 | \end{block} |
---|
49 | \end{frame} |
---|
50 | |
---|
51 | \begin{frame}{Langages compilés - C++} |
---|
52 | \begin{block}{Support au développement} |
---|
53 | \begin{itemize} |
---|
54 | \item documentation automatique avec doxygen |
---|
55 | \item nombreux IDE disponibles |
---|
56 | \item tests unitaires : cppunit |
---|
57 | \end{itemize} |
---|
58 | \end{block} |
---|
59 | \end{frame} |
---|