From: Ian Jackson Date: Thu, 16 May 2019 12:50:20 +0000 (+0100) Subject: wip X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=c651301924d006e16b453892d5cf5e9823f83eb7;p=talk-2019-ghm-rust.git wip --- diff --git a/.gitignore b/.gitignore index 2500f88..89c7adb 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ cargo.ps tour-main.ps tour-6?.ps tourx-7?.ps +c-v-rust.ps *.1 *.tmp *.txt.eps diff --git a/Makefile b/Makefile index e0569b4..e461e66 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,8 @@ SLIDES+= tourx-71 SLIDES+= tourx-72 # D -SLIDES+= borrow-nonmut +SLIDES+= c-v-rust +SLIDES+= borrow-nonmut # error message # E SLIDES+= bck-lifetimes diff --git a/c-v-rust.fig b/c-v-rust.fig new file mode 100644 index 0000000..1d19abf --- /dev/null +++ b/c-v-rust.fig @@ -0,0 +1,31 @@ +#FIG 3.2 Produced by xfig version 3.2.6a +Landscape +Center +Metric +A4 +100.00 +Single +-2 +1200 2 +2 5 0 1 0 -1 65 -1 -1 0.000 0 0 -1 0 0 5 + 0 llvm-ub.png + -810 -1350 8604 -1350 8604 1748 -810 1748 -810 -1350 +2 1 0 1 0 7 72 -1 -1 0.000 0 0 -1 0 0 2 + -675 2295 10440 2295 +2 5 0 1 0 -1 72 -1 -1 0.000 0 0 -1 0 0 5 + 0 rust-prevent-bugs-1.png + 90 2655 10200 2655 10200 5130 90 5130 90 2655 +2 5 0 1 0 -1 72 -1 -1 0.000 0 0 -1 0 0 5 + 0 rust-prevent-bugs-2.png + 2205 5400 9610 5400 9610 6182 2205 6182 2205 5400 +4 0 4 72 -1 2 30 0.0000 4 330 360 8865 -990 C\001 +4 0 1 72 -1 2 30 0.0000 4 330 990 -720 4275 Rust\001 +4 0 1 72 -1 2 30 0.0000 4 435 2415 -720 4680 community\001 +4 0 0 72 -1 2 30 0.0000 4 435 7170 -855 -1845 Attitude to programmer mistakes\001 +4 0 1 72 -1 2 30 0.0000 4 435 2025 -720 5490 Compiler\001 +4 0 1 72 -1 2 30 0.0000 4 435 2415 -720 5985 should help\001 +4 0 4 72 -1 2 30 0.0000 4 435 1740 8820 1755 blaming\001 +4 0 4 72 -1 2 30 0.0000 4 330 1440 8820 1260 Victim\001 +4 0 4 72 -1 2 30 0.0000 4 435 2025 8865 -585 compiler/\001 +4 0 4 72 -1 2 30 0.0000 4 435 2415 8865 360 community\001 +4 0 4 72 -1 2 30 0.0000 4 330 2100 8865 -90 standards\001 diff --git a/llvm-ub.png b/llvm-ub.png new file mode 100644 index 0000000..8739964 Binary files /dev/null and b/llvm-ub.png differ diff --git a/rust-prevent-bugs-1.png b/rust-prevent-bugs-1.png new file mode 100644 index 0000000..d115809 Binary files /dev/null and b/rust-prevent-bugs-1.png differ diff --git a/rust-prevent-bugs-2.png b/rust-prevent-bugs-2.png new file mode 100644 index 0000000..ed0bbe6 Binary files /dev/null and b/rust-prevent-bugs-2.png differ