Slides and source code for my FOSDEM 2020 talk "Nim - Move semantics".
To build the slides run nim c -r build.nim
.
To compile the benchmarks use these commands:
nim c -d:danger --gc:markAndSweep bintrees_gcs.nim
nim c -d:danger --gc:boehm bintrees_gcs.nim
nim c -d:danger --gc:refc bintrees_gcs.nim
nim c -d:danger --gc:arc bintrees_gcs.nim
nim c -d:danger --gc:arc bintrees_manual.nim
nim c -d:danger --gc:arc bintrees_pools.nim
Pass the value '21' as the argument to the benchmark programs.
Diagrams are rendered with markdeep.
To add a diagram use a code block in rst like the following:
::
diagram1.markdeep
and add a diagram1.markdeep
file with the ascii diagram
(see markdeep demo for example diagrams).