Nim (programming language)

Nim
The Nim crown logo
ParadigmsMulti-paradigm: compiled, concurrent, procedural, imperative, functional, object-oriented, meta
Designed byAndreas Rumpf
DeveloperNim Lang Team
First appeared2008 (2008)
Stable release
2.2.4  / 22 April 2025 (22 April 2025)
Typing disciplineStatic, strong, inferred, structural
ScopeLexical
Implementation languagePascal (2005–2008)
Nim (2008–present, self-hosted)
PlatformIA-32, x86-64, ARM, Aarch64, RISC-V, PowerPC ...
OSCross-platform
LicenseMIT License 
Filename extensions.nim, .nims, .nimble
Websitenim-lang.org
Influenced by
Ada, Modula-3, Lisp, C++, Object Pascal, Python, Oberon, Rust, ParaSail

Nim is a general-purpose, multi-paradigm, statically typed, compiled high-level system programming language, designed and developed by a team around Andreas Rumpf. Nim is designed to be "efficient, expressive, and elegant", supporting metaprogramming, functional, message passing, procedural, and object-oriented programming styles by providing several features such as compile time code generation, algebraic data types, a foreign function interface (FFI) with C, C++, Objective-C, and JavaScript, and supporting compiling to those same languages as intermediate representations.