Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the powerful features of Nim, a fast statically typed language, in this conference talk from Strange Loop 2021. Dive into systems programming and metaprogramming with real-world examples, including type-safe web routes, compile-time memory management, C++ interoperability, and static introspection. Learn how Nim combines Python-like syntax with cutting-edge capabilities for highly productive development. Discover techniques for creating flexible APIs, customizing compile-time errors, and managing resources efficiently. Gain insights into Nim's potential for diverse programming challenges and its unique approach to language design and user experience.
Syllabus
Intro
What is Nim
Why Nim
Static introspection
Interop
C
Web Server Example
Manual Memory Management
You Can Do It
Uniform Function Call Syntax
Functions
Data Exploration
Static introspection
Compile time
Type calculation
Fizzbuzz
Migration
Migration Story
Why Care
Embrace the boilerplate
Good first issues
Demo
Takeaway
Static Resource Management
Destructor Injection
Linear Types
Getting Out of the Users Way
Disable Copying
Resource Management
C Interrupt
Low Risk Gamble
Wrap Up
Taught by
Strange Loop Conference