Skip to content
Snippets Groups Projects
Commit 065fb6f2 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

forgot to mention lincense update and inclusion of md file

parent 188bfc0f
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ BEAMEROPTIONS += --slide-level=1 ...@@ -11,7 +11,7 @@ BEAMEROPTIONS += --slide-level=1
REVEALOPRIONS = -t revealjs REVEALOPRIONS = -t revealjs
REVEALOPRIONS += --template default.revealjs REVEALOPRIONS += --template ./default.revealjs
# REVEALOPRIONS += -V theme=moon # REVEALOPRIONS += -V theme=moon
REVEALOPRIONS += -V center=false REVEALOPRIONS += -V center=false
REVEALOPRIONS += -V width="2000" REVEALOPRIONS += -V width="2000"
...@@ -28,10 +28,11 @@ REVEALOPRIONS += --highlight-style espresso ...@@ -28,10 +28,11 @@ REVEALOPRIONS += --highlight-style espresso
# REVEALOPRIONS += --include-in-header=reveal.js/left_just.css # REVEALOPRIONS += --include-in-header=reveal.js/left_just.css
all: cours.pdf cours.html # all: cours.pdf cours.html
all: cours.html
cours.pdf: cours.md Makefile # cours.pdf: cours.md Makefile
pandoc -s $(BEAMEROPTIONS) -o $@ $< # pandoc -s $(BEAMEROPTIONS) -o $@ $<
cours.html: cours.md Makefile cours.html: cours.md Makefile
pandoc -s $(REVEALOPRIONS) -o $@ $< pandoc -s $(REVEALOPRIONS) -o $@ $<
......
...@@ -3,13 +3,25 @@ title: Cours de programmation séquentielle ...@@ -3,13 +3,25 @@ title: Cours de programmation séquentielle
author: Orestis Malaspinas author: Orestis Malaspinas
<!-- date: 25 avril 2018 --> <!-- date: 25 avril 2018 -->
sansfont: Sans Serif sansfont: Sans Serif
figPrefix: header-includes:
- "" <link rel="stylesheet" href="reveal.js/lib/css/zenburn.css" >
<!-- <link rel="stylesheet" href="reveal.js/css/theme/simple.css" id="theme"> -->
<link rel="stylesheet" href="css/console.css" id="theme">
<script src="jquery/dist/jquery.min.js"></script>
include-after:
<script src="js/playRust.js"></script>
<script src="js/remote-code.js"></script>
<script src="js/remote-diagrams.js"></script>
<script src="js/em-artiste.js"></script>
<!-- slide-numbers: true --> <!-- slide-numbers: true -->
--- ---
# Quelques références (1/2) # Quelques références (1/2)
<pre><code data-source="codes/control/1.rs" data-trim="hljs rust" class="lang-rust"></code></pre>
## The Book (nouveau testament) ## The Book (nouveau testament)
![<https://doc.rust-lang.org/book/second-edition/index.html>](figs/RustProgrammingLanguage_cover_0.png){height=40%} ![<https://doc.rust-lang.org/book/second-edition/index.html>](figs/RustProgrammingLanguage_cover_0.png){height=40%}
...@@ -34,13 +46,15 @@ Contient certaines iformations qui peuvent être pratiques. ...@@ -34,13 +46,15 @@ Contient certaines iformations qui peuvent être pratiques.
<https://www.reddit.com/r/rust/> <https://www.reddit.com/r/rust/>
# Un peu d'amour # Pourquoi Rust?
## Un peu d'amour
- Langage le plus aimé sur stackoverflow en 2016, 2017, et 2018. - Langage le plus aimé sur stackoverflow en 2016, 2017, et 2018.
![](figs/love.png){height=70%} ![](figs/love.png){height=70%}
# Une mascotte super mignonne ## Une mascotte super mignonne
![Ferris](figs/ferris.png){height=50%} ![Ferris](figs/ferris.png){height=50%}
...@@ -84,18 +98,14 @@ Contient certaines iformations qui peuvent être pratiques. ...@@ -84,18 +98,14 @@ Contient certaines iformations qui peuvent être pratiques.
# Concepts de base # Concepts de base
- Sûr ## Sûreté
- Concurrent
- Rapide
# Sûr
- Fortement typé. - Fortement typé.
- Pas d'accès mémoire illégal. - Pas d'accès mémoire illégal.
- La déallocation est automatique. - La déallocation est automatique.
- Les fuites de mémoires sont donc TRÈS difficile à faire. - Les fuites de mémoires sont donc TRÈS difficile à faire.
# Concurrent ## Concurrence
- *Concurrency without fear*. - *Concurrency without fear*.
- Le système de type empêche un accès concurrent à des données. - Le système de type empêche un accès concurrent à des données.
...@@ -103,7 +113,7 @@ Contient certaines iformations qui peuvent être pratiques. ...@@ -103,7 +113,7 @@ Contient certaines iformations qui peuvent être pratiques.
- Détection si l'accès asynchrone est sûr. - Détection si l'accès asynchrone est sûr.
- Protection contre les accès concurrents. - Protection contre les accès concurrents.
# Rapide ## Rapidité
- Les conditions de sécurité sont gérées *à la compilation* (pas de ĉoût à l'exécution). - Les conditions de sécurité sont gérées *à la compilation* (pas de ĉoût à l'exécution).
- Le compilateur est basé sur la LLVM. - Le compilateur est basé sur la LLVM.
...@@ -116,3 +126,4 @@ Contient certaines iformations qui peuvent être pratiques. ...@@ -116,3 +126,4 @@ Contient certaines iformations qui peuvent être pratiques.
- ... Mais il est possible de contourner les règles. - ... Mais il est possible de contourner les règles.
- Syntaxe spéciale pour autoriser les comportement potentiellement dangereux. - Syntaxe spéciale pour autoriser les comportement potentiellement dangereux.
- Un guide pour bien vivre dangereusement. - Un guide pour bien vivre dangereusement.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment