~/talk

Nim Nuggets: Systems Programming & Metaprogramming Magic

Talkat Strange Loop 2021 · 2021-09-30..10-02· [rust]
github:deech
slides:none on file

Fast compiler bootstraps from C in about 6 minutes and the Nim LSP builds from scratch in ~1 minute, enabling very quick feedback. The talk shows true compile‑time introspection (a macro that diffs two record types and generates a compile‑time migrate path), static resource management with destructor hooks and affine‑style sinks, and working C++ interop that uses std::vector/unique_ptr and emits a compile‑time factorial; demos run and are valgrind clean.

AI-written summary · about

  1. 0:00Intro
  2. 0:15What is Nim
  3. 1:17Why Nim
  4. 2:35Static introspection
  5. 3:06Interop
  6. 4:01C
  7. 6:05Manual Memory Management
  8. 8:03You Can Do It
  9. 9:00Uniform Function Call Syntax
  10. 9:59Functions
  11. 10:18Data Exploration
  12. 11:01Static introspection
  13. 12:02Compile time
  14. 13:56Type calculation
  15. 14:50Fizzbuzz
  16. 15:26Migration
  17. 16:19Migration Story
  18. 16:31Why Care
  19. 17:21Embrace the boilerplate
  20. 18:07Good first issues
  21. 18:38Demo
  22. 22:58Takeaway
  23. 23:36Static Resource Management
  24. 26:47Destructor Injection
  25. 27:06Linear Types
  26. 30:32Getting Out of the Users Way
  27. 31:27Disable Copying
  28. 32:13Resource Management
  29. 32:44C Interrupt
  30. 40:07Low Risk Gamble
  31. 40:27Wrap Up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.