Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
rust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orestis.malaspin
rust
Commits
065fb6f2
Commit
065fb6f2
authored
7 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+5
-4
5 additions, 4 deletions
Makefile
cours.md
+22
-11
22 additions, 11 deletions
cours.md
reveal.js/plugin/highlight/highlight.js
+5
-51
5 additions, 51 deletions
reveal.js/plugin/highlight/highlight.js
with
32 additions
and
66 deletions
Makefile
+
5
−
4
View file @
065fb6f2
...
@@ -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
$@
$<
...
...
This diff is collapsed.
Click to expand it.
cours.md
+
22
−
11
View file @
065fb6f2
...
@@ -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)

{height=40%}

{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.

{height=70%}

{height=70%}
# Une mascotte super mignonne
#
# Une mascotte super mignonne

{height=50%}

{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.
# Concurren
t
#
# Concurren
ce
-
*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.
# Rapid
e
#
# Rapid
ité
-
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.
This diff is collapsed.
Click to expand it.
reveal.js/plugin/highlight/highlight.js
+
5
−
51
View file @
065fb6f2
Source diff could not be displayed: it is too large. Options to address this:
view the blob
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment