Nim
Nim is an actively used programming language created in 2008. Nim (formerly named Nimrod) is an imperative, multi-paradigm, compiled programming language designed and developed by Andreas Rumpf. It 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 and compiling to JavaScript, C and C++.. Read more on Wikipedia...
12Years Old | 8,773Users | ?Jobs |
- Nim ranks in the top 5% of languages
- the Nim website
- the Nim wikipedia page
- Nim on github
- Nim first appeared in 2008
- Nim was created by Andreas Rumpf
- file extensions for Nim include nim and nimrod
- the Nim team is on twitter
- tryitonline has an online Nim repl
- See also: ada, modula-3, lisp, object-pascal, python, oberon, c, javascript, pascal, delphi, csharp, go, objective-c, ios, android, git, json, opengl, postgresql, mysql, sqlite, lua, scala, d, rust
- Have a question about Nim not answered here? Email me and let me know how I can help.
Example code from the Hello World Collection:
# Hello world in Nim echo "Hello World"
Example code from Linguist:
# from: https://github.com/nim-lang/Nim/blob/27b081d1f77604ee47c886e69dbc52f53ea3741f/compiler/nimfix/nimfix.nim.cfg # Special configuration file for the Nim project # gc:markAndSweep hint[XDeclaredButNotUsed]:off path:"$projectPath/.." path:"$lib/packages/docutils" path:"$nim" define:useStdoutAsStdmsg symbol:nimfix define:nimfix cs:partial #define:useNodeIds define:booting define:noDocgen
Example code from Wikipedia:
proc printf(formatstr: cstring) {.header: "<stdio.h>", varargs.} printf("%s %d\n", "foo", 5)
Trending Repos
repo | stars | description |
---|
Last updated August 9th, 2020