From b9ab73ff81777fd51eabfc9f0279fe177e8745db Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 16 May 2019 14:11:24 +0100 Subject: [PATCH] wip --- .gitignore | 1 + Makefile | 3 +++ conclusion.fig | 21 +++++++++++++++++++++ macros.fig | 7 ++++--- 4 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 conclusion.fig diff --git a/.gitignore b/.gitignore index 46fdd88..8336100 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ c-v-rust.ps borrow-errormsg.ps stability-slide.ps coc-slide.ps +conclusion.ps *.1 *.tmp *.txt.eps diff --git a/Makefile b/Makefile index 9b00329..cd726bf 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,9 @@ SLIDES+= bck-lifetimes SLIDES+= macros SLIDES+= cargo +# F +SLIDES+= conclusion + SLIDEFILES=$(addsuffix .ps, $(SLIDES)) o= >$@.new && mv -f $@.new $@ diff --git a/conclusion.fig b/conclusion.fig new file mode 100644 index 0000000..1d9ff4d --- /dev/null +++ b/conclusion.fig @@ -0,0 +1,21 @@ +#FIG 3.2 Produced by xfig version 3.2.6a +Landscape +Center +Metric +A4 +100.00 +Single +-2 +1200 2 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + -1350 1125 10800 1125 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + -1350 5040 10800 5040 +4 0 0 50 -1 2 36 0.0000 4 420 1200 -1350 -1350 Rust\001 +4 0 0 50 -1 2 30 0.0000 4 375 2565 -900 2025 Ian Jackson\001 +4 0 0 50 -1 2 30 0.0000 4 330 1275 4050 2025 Citrix\001 +4 0 0 50 -1 2 30 0.0000 4 435 2115 5850 2025 May 2019\001 +4 0 0 50 -1 2 30 0.0000 4 435 11925 -1350 -630 The most exciting new programming language for years\001 +4 0 0 60 -1 0 20 0.0000 4 300 8715 -990 6570 Some examples taken from the Rust Book etc, Apache 2.0 / MIT\001 +4 0 0 50 -1 14 30 0.0000 4 450 7800 -855 225 https://doc.rust-lang.org/\001 +4 0 0 50 -1 14 30 0.0000 4 390 6600 -810 2700 Ian.Jackson@citrix.com\001 diff --git a/macros.fig b/macros.fig index ac85f1a..7924ee5 100644 --- a/macros.fig +++ b/macros.fig @@ -9,14 +9,14 @@ Single 1200 2 2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 -1350 2970 10800 2970 -2 5 0 1 0 -1 60 -1 -1 0.000 0 0 -1 0 0 5 - 0 macro-rules-example.txt.eps - -1170 3330 9054 3330 9054 5712 -1170 5712 -1170 3330 2 5 0 1 0 -1 60 -1 -1 0.000 0 0 -1 0 0 5 0 serde-example.txt.eps -1170 -2250 10785 -2250 10785 2512 -1170 2512 -1170 -2250 2 2 0 2 1 7 50 -1 -1 0.000 0 0 -1 0 0 5 720 -1170 5760 -1170 5760 -1620 720 -1620 720 -1170 +2 5 0 1 0 -1 60 -1 -1 0.000 0 0 -1 0 0 5 + 0 macro-rules-example.txt.eps + -1170 3330 9054 3330 9054 5712 -1170 5712 -1170 3330 4 0 4 50 -1 0 30 0.0000 4 435 7410 3600 5310 What a syntax for something simple!\001 4 0 4 50 -1 0 26 0.0000 4 405 9450 1800 5760 (and this macro doesn't even always work quite right)\001 4 0 1 50 -1 0 27 0.0000 4 315 4800 5850 -1620 Not a built in Rust feature.\001 @@ -24,3 +24,4 @@ Single 4 0 1 50 -1 0 24 0.0000 4 360 5520 6030 -360 Only Common Lisp can beat this\001 4 0 1 50 -1 0 30 0.0000 4 330 2175 8280 1890 Awesome!\001 4 0 0 72 -1 2 30 0.0000 4 330 1620 9360 -2160 Macros\001 +4 0 4 50 -1 0 26 0.0000 4 405 7185 3465 3375 example from a personal project of mine\001 -- 2.30.2