diff --git a/20220609/ad-20220609.txt b/20220609/ad-20220609.txt index ff9a82a8cc194c0b3f4a8a86e60769babc8ed1f5..995ca2747dba019aba7d1a5698963d3675fffd46 100644 --- a/20220609/ad-20220609.txt +++ b/20220609/ad-20220609.txt @@ -179,3 +179,19 @@ Reed-Solomon-Code: Fehlererkennung und -Korrektur https://de.wikipedia.org/wiki/Endlicher_K%C3%B6rper#Der_K%C3%B6rper_mit_4_Elementen - In der Praxis in der Praxis: fertige Bibliothek + +Intelligente Zeiger +=================== + +Problem: Sobald mehrere Zeiger auf denselben Speicher zeigen, + besteht das Risiko, die Übersicht zu verlieren. + - Bereits freigegebener Speicher wird weiterhin benutzt + - Speicher wird mehrfach freigegeben + - Speicher wird nicht freigegeben --> Memory Leak + +Mögliche Lösung: Garbage Collection: + Die Systembibliothek behält den Überblick über belegten Speicher + und gibt gelegentlich Speicher frei, auf den keine Zeiger mehr zeigen. +--> Neues Problem: Verlust der Echezeitfähigkeit + +Lösung in C++: shared_ptr diff --git a/20220609/polynome-20220609-01-polynomdivision.png b/20220609/polynome-20220609-01-polynomdivision.png new file mode 100644 index 0000000000000000000000000000000000000000..6132d8a8eac6714cc635c1548f469fb788b983a5 Binary files /dev/null and b/20220609/polynome-20220609-01-polynomdivision.png differ diff --git a/20220609/polynome-20220609-02-polynomdivision.png b/20220609/polynome-20220609-02-polynomdivision.png new file mode 100644 index 0000000000000000000000000000000000000000..f2fc19e8ce0514e18589d1146c6ddc13c2d59645 Binary files /dev/null and b/20220609/polynome-20220609-02-polynomdivision.png differ diff --git a/20220609/polynome-20220609-03-crc.png b/20220609/polynome-20220609-03-crc.png new file mode 100644 index 0000000000000000000000000000000000000000..65db2e1e320d8df33745e7f55dae54dc3a3dbc45 Binary files /dev/null and b/20220609/polynome-20220609-03-crc.png differ diff --git a/20220609/polynome-20220609-04-reed-solomon.png b/20220609/polynome-20220609-04-reed-solomon.png new file mode 100644 index 0000000000000000000000000000000000000000..4cfe6fa28d1cf375c8023f2829324e96178cd451 Binary files /dev/null and b/20220609/polynome-20220609-04-reed-solomon.png differ diff --git a/20220609/polynome-20220609-05-reed-solomon.png b/20220609/polynome-20220609-05-reed-solomon.png new file mode 100644 index 0000000000000000000000000000000000000000..778cb1c5cfc6a21d3748ed29b2e76fa5b5334cb0 Binary files /dev/null and b/20220609/polynome-20220609-05-reed-solomon.png differ diff --git a/20220609/polynome-20220609-06-reed-solomon.png b/20220609/polynome-20220609-06-reed-solomon.png new file mode 100644 index 0000000000000000000000000000000000000000..419655e1f35d34a082291b10a6f727d1a5f42c14 Binary files /dev/null and b/20220609/polynome-20220609-06-reed-solomon.png differ diff --git a/20220609/polynome-20220609-07-reed-solomon.png b/20220609/polynome-20220609-07-reed-solomon.png new file mode 100644 index 0000000000000000000000000000000000000000..a117c727b9a8e719b20d8cfc55f707907c1435ee Binary files /dev/null and b/20220609/polynome-20220609-07-reed-solomon.png differ