What is Nim written in?
What Nim is used for
Nim is a general-purpose language with Python-like readability that compiles to C, C++, or JavaScript, giving native speed with a small runtime, handy for systems tools, games, and embedded work.
Notable software: the Status messaging client and a range of community tools and games.
Quick Facts
- Designed by
- Andreas Rumpf
- First released
- 2008
- Typing
- static
- License
- MIT License
- Filename extension
- .nim, .nims
- Website
- nim-lang.org
About Nim
Nim is a programming language. It is a statically typed and garbage-collected language that compiles ahead of time to native machine code. It supports imperative, functional, and object-oriented programming.
Nim first appeared in 2008 and was designed by Andreas Rumpf. Nim is now used mainly in specialized niches and by dedicated communities.
How Nim is implemented
In the Language Lineage dataset, Nim is self-hosting, so its own compiler is written in Nim itself. Reaching self-hosting, where a language is mature enough to compile itself, is a milestone that proves the language can handle a large, real-world program.
Nim in the language family tree
Nim drew on ideas from Python, Pascal, and Ada.
Sources: Wikipedia · Wikidata · Official site
Frequently Asked Questions
Evidence Sources
- https://nim-lang.org/documentation.html
- https://github.com/nim-lang/Nim
- https://nim-lang.org/docs/backends.html
- https://en.wikipedia.org/wiki/Nim_(programming_language)
- Nim on Wikidata (Q20080327)