Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 886 Bytes

readme.md

File metadata and controls

35 lines (24 loc) · 886 Bytes

fosdem2020

Slides and source code for my FOSDEM 2020 talk "Nim - Move semantics".

Build

To build the slides run nim c -r build.nim.

Benchmarks

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

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).