Official Resources

Tutorials

A guide about basic and advanced built-in types, statements, control flow, and procedures.

How to use Object Oriented Programming in Nim, exceptions, generics, and templates.

Learn about meta-programming and macros.

Books

Learn Nim from one of the main developers of the language. A tour through the standard library, a guide on writing your own packages and applications, interfacing with C and JavaScript, and much more.

Playgrounds

Compile and run Nim snippets in your browser.

Multi-language playground with lots of options.

Documentation

Provides a listing and description of all the modules in the standard library.

The Nim programming language specification.

All Nim documents and modules in one place. Use Ctrl/Cmd+F.

The stylistic conventions that Nim's official projects adhere to.

Search for available Nimble packages.

Learn how to document your code using reST syntax, how to use Nimprof for profiling, and how to debug with GDB/LLDB.