forked from coders-school/memory-management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
177 lines (139 loc) · 7.36 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Memory management problems</title>
<link rel="stylesheet" href="../../css/reset.css">
<link rel="stylesheet" href="../../css/reveal.css">
<link rel="stylesheet" href="../../css/theme/coders.css" id="theme">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="../../lib/css/monokai.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match(/print-pdf/gi) ? '../../css/print/pdf.css' : '../../css/print/paper.css';
document.getElementsByTagName('head')[0].appendChild(link);
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section data-background="#111111">
<h1>Memory management problems</h1>
<br/>
<h2>CODERS SCHOOL</h2>
<a href="https://coders.school">https://coders.school</a>
<div class="multicolumn">
<div class="col">
<img data-src="../logo.png" alt="Coders School" class="plain" height="150px">
</div>
<div class="col"></div>
<div class="col">
Łukasz Ziobroń
<a href="mailto:[email protected]">[email protected]</a>
</div>
</div>
</section>
<section data-markdown>
<textarea data-template>
## Agenda
* <!-- .element: class="fragment fade-in" --> Process memory allocation
* <!-- .element: class="fragment fade-in" --> process memory map
* <!-- .element: class="fragment fade-in" --> stack vs heap
* <!-- .element: class="fragment fade-in" --> stack allocation
* <!-- .element: class="fragment fade-in" --> heap allocation
* <!-- .element: class="fragment fade-in" --> new expression and operator <code>new</code>
* <!-- .element: class="fragment fade-in" --> dynamic array allocation
* <!-- .element: class="fragment fade-in" --> dynamic allocation problems
* <!-- .element: class="fragment fade-in" --> RAII
* <!-- .element: class="fragment fade-in" --> Memory corruption detection
</textarea>
</section>
<section data-markdown>
<textarea data-template>
## Warm up
* <!-- .element: class="fragment fade-in" --> What do you know about memory?
* <!-- .element: class="fragment fade-in" --> RAII - what's that?
* <!-- .element: class="fragment fade-in" --> What is a memory leak?
</textarea>
</section>
<section data-markdown="memory_management_memory_map.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="memory_management_stack_vs_heap.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="memory_management_stack_allocation.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="memory_management_stack_overflow.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="memory_management_heap_allocation.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="memory_management_new_expression.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="memory_management_array_allocation.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="memory_management_allocation_problems.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="memory_management_simple_question.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="memory_management_raii.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="memory_management_memory_corruption.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-markdown="homework.md" data-separator-vertical="^___"
data-separator-notes="^Note:">
</section>
<section data-background="#111111">
<h1>CODERS SCHOOL</h1>
<a href="https://coders.school">https://coders.school</a>
<br/><br/>
<div class="multicolumn">
<div class="col">
<div>
<img data-src="../logo.png" alt="Coders School" class="plain" height="150px">
</div>
</div>
<div class="col"></div>
<div class="col">
Łukasz Ziobroń
<a href="mailto:[email protected]">[email protected]</a>
</div>
</div>
</section>
</div>
</div>
<script src="../../js/reveal.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
width: 1200,
height: 750,
slideNumber: true,
hash: true,
pdfSeparateFragments: false,
dependencies: [
{ src: '../../plugin/externalcode/externalcode.js', condition: function() { return !!document.querySelector( '[data-code]' ); } },
{ src: '../../plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '../../plugin/markdown/marked.js' },
{ src: '../../plugin/markdown/markdown.js' },
{ src: '../../plugin/notes/notes.js', async: true }
]
});
</script>
</body>
</html>