nim-lang/Nim
View on GitHub ↗ ★ 18,297 Nim
Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
162 mentions on Hacker News by 100 people: 13 stories, 149 comments · first 2013-08-26 · latest 2026-08-14
20082026
-
…a brief "Nim for Python Programmers" [1], which might interest you. [0] https://nim-lang.org/ [1] https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm...
comment by narimiran · 2018-01-22 · in Why is Rust difficult? -
Can you please add your company here? :) https://github.com/nim-lang/Nim/wiki/Companies-using-Nim There are some companies using Nim, but they're not in this list
comment by Tiberium · 2017-10-18 · in Why we switched from Python to Go -
…by now. But if you've got any specific questions about it then feel free to ask them. 1 - https://github.com/nim-lang/Nim/issues/2348 2 - https://nim-lang.org/community.html
comment by dom96 · 2017-08-23 · in D as a Better C -
…worry about creating a small example either, as long as you give us all the code to compile it. 1 - https://github.com/nim-lang/nim
comment by dom96 · 2017-08-23 · in D as a Better C -
…await: https://github.com/dom96/nim-in-action-code/blob/master/Chap... 2 - Implementation of `=>`: https://github.com/nim-lang/Nim/blob/devel/lib/pure/future.n...
comment by dom96 · 2017-08-21 · in How to parse text for a DSL at compile time? (C++) -
…the layout for smaller screens, it's just that these queries are not triggered on mobile. [1] https://github.com/nim-lang/Nim/pull/5737
comment by moigagoo · 2017-04-20 · in Nim programming language -
…If not please report them[0], if this is a regression then it should be fixed quickly. 0 - https://github.com/nim-lang/Nim/issues/new
comment by dom96 · 2017-01-09 · in Nim Programming Language v0.16.0 released -
Development of Nim ( https://GitHub.com/nim-lang/Nim ) and its tools is done openly on GitHub.
comment by dom96 · 2017-01-03 · in Programming languages that are actively developed on GitHub -
…works by declaring discriminated union (called enum in Nim) of possible JSON types, declared here: https://github.com/nim-lang/Nim/blob/master/lib/pure/json.ni... You get a tree of nodes out of the parser and switch (lightweight pattern…
comment by klibertp · 2016-10-11 · in The P programming language -
…talk to us on IRC[2] and Gitter[3]. Ideally, help us improve it by submitting pull requests :) 1 - https://github.com/nim-lang/Nim/issues 2 - irc.freenode.net #nim 3 - https://gitter.im/nim-lang/Nim
comment by dom96 · 2016-10-01 · in Nim Programming Language v0.15.0 released -
…This only took me ~100 lines[2]. 1: Still a WIP, but already reduces code duplication A LOT: https://github.com/nim-lang/Nim/blob/devel/lib/pure/httpclie... 2: https://github.com/nim-lang/Nim/blob/devel/lib/pure/asyncmac...
comment by dom96 · 2016-09-22 · in What every coder should know about gamma -
https://github.com/nim-lang/Nim/issues/936 still open :-(
comment by wiz21c · 2016-06-08 · in Nim Programming Language 0.14.0 released -
…eyeballing Nim language for this since HN commenters pointed out it's close to the goal already: https://github.com/nim-lang/Nim/wiki/Nim-for-C-programmers Someone might even be using a subset of it as a high-level C language. I'd be…
comment by nickpsecurity · 2016-05-10 · in Teaching C -
…No serious developer would ever use such a dangerous "feature". It should be removed from Nim. https://github.com/nim-lang/Nim/wiki/Whitespace-FAQ
comment by progman · 2016-03-23 · in Exploring Rust (from C#) -
…the language and help us implement new features. Here is a list of "Easy" bugs to get you started: https://github.com/nim-lang/Nim/labels/Easy Another alternative is donations. Nim accepts donations through Bountysource[1], and…
comment by dom96 · 2016-01-28 · in Show HN: “Nim in Action” is now available -
> Does Nim have something like PEP-8? https://github.com/nim-lang/Nim/wiki/Style-Guide-for-Nim-Cod...
comment by dom96 · 2016-01-28 · in Show HN: “Nim in Action” is now available -
The garbage collector looks to be written in Nim: https://github.com/nim-lang/Nim/blob/devel/lib/system/gc.nim
comment by tonyg · 2016-01-22 · in I missed Nim (2014) -
Linked at the bottom of the homepage: https://github.com/nim-lang/Nim/wiki/Roadmap
comment by jonathonf · 2016-01-21 · in Nim 0.13.0 has been released -
…which can be manually controlled [3], generics, AST macros and much more. 1: http://nim-lang.org 2: https://github.com/nim-lang/nim 3: http://nim-lang.org/docs/gc.html#realtime-support
comment by dom96 · 2016-01-09 · in Why I Write Games in C -
…barely known. http://nim-lang.org http://hookrace.net/blog/what-is-special-about-nim/ Uses Cases: https://github.com/nim-lang/Nim/wiki/Nim-use-cases Note that meanwhile there is also NimScript, an interpreter for a subset of Nim, which can…
comment by progman · 2015-11-11 · in Which language has the brightest future for replacing C: D, Go, Rust? -
…to combine a lot of the nice features of dynamic languages with the rigour of a static language. https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm... http://nim-lang.org/ Haven't played with it myself, as I'm still waiting for a…
comment by david-given · 2015-06-26 · in Show HN: A Python with Hindley-Milner-like type annotations, compiling to C -
…Nim [1] and should guard against the majority of related clerical errors of this kind. [1] https://github.com/Araq/Nim/wiki/Style-Guide-for-Nim-Code
comment by rbehrends · 2015-06-06 · in Is Nim unsafe? -
The following discussion on Github may answer your question https://github.com/Araq/Nim/issues/1979
comment by dom96 · 2015-04-30 · in Nim Programming Language 0.11.0 released -
…to solve the problems this causes without removing it would be a gofmt like tool as described here: https://github.com/Araq/Nim/wiki/GSoC-2015-Ideas#nimfmt-auto...
comment by def- · 2015-04-30 · in Nim Programming Language 0.11.0 released -
…https://en.wikipedia.org/wiki/Algorithms_%2B_Data_Structures... A modern take of it is presented in https://github.com/Araq/Nimrod This is why most people agree is easier to program in a dialect of pascal (like Delphi or FreePascal) than…
comment by mamcx · 2015-04-23 · in Real Programmers Don't Use PASCAL (1982) -
…This language deserves your attention. [1]: http://goran.krampe.se/2014/10/20/i-missed-nim/ [2]: https://github.com/Araq/Nim/wiki/Nim-for-C-programmers
comment by Cyther606 · 2015-03-24 · in Myths of Enterprise Python -
…along but I am rather afraid to put in production. The number of compiler bugs is a bit scary. https://github.com/Araq/Nim/labels/High%20Priority And also from what I've heard, the tooling isn't very good. Autocomplete isn't context…
comment by codexon · 2015-02-14 · in Author of “Unix in Rust” Abandons Rust in Favour of Nim -
> Here's the reasoning: https://github.com/Araq/Nim/wiki/Whitespace-FAQ#tabs-vs-spac... . Honestly, there are less drastic solutions to these problems. Some languages (forgot which) simply forbid mixing tabs and spaces when the tab size…
comment by CyberShadow · 2015-01-23 · in What makes Nim practical? -
…comments, save for `discard """ ... """` I believe a different syntax for those will be added soon: https://github.com/Araq/Nim/issues/1535
comment by dom96 · 2015-01-23 · in What makes Nim practical? -
> - Significant whitespace, but tabs are forbidden Here's the reasoning: https://github.com/Araq/Nim/wiki/Whitespace-FAQ#tabs-vs-spac... If you still want tabs you can add this at the top of your files and they work: #! replace("\t", " ")…
comment by def- · 2015-01-23 · in What makes Nim practical? -
…want to restrict the generic type but there seems to be no way other than using templates[1]. [1]: https://github.com/Araq/Nim/blob/master/lib/pure/collections...
comment by egeozcan · 2015-01-23 · in What makes Nim practical? -
…it) support IMHO. Current alternative is "compiler does copy-paste for you", aka templates. See: https://github.com/Araq/Nim/blob/master/lib/pure/collections...
comment by egeozcan · 2015-01-14 · in A Quick Comparison of Nim vs. Rust -
>So Nim really needs more active users and contributors. I've fixed an issue you're experiencing: https://github.com/Araq/Nim/issues/1804 :3
comment by cremno · 2015-01-01 · in What is special about Nim? -
…15876 1043 1007 Racket 8503 130284 24793 741 https://github.com/def-/LPATHBench/blob/master/nim.nim https://github.com/Araq/Nim/wiki/Nim-for-C-programmers
comment by Cyther606 · 2014-12-30 · in Nim Advocacy and Promotion Strategies -
…being safe and pragmatic enough for general usage. http://goran.krampe.se/2014/10/20/i-missed-nim/ https://github.com/Araq/Nim/wiki/Nim-for-C-programmers
comment by Cyther606 · 2014-12-30 · in Everyday hassles in Go -
…to encourage people to write RFCs on Github or on the Nim forum and there are some already there ( https://github.com/Araq/Nim/labels/RFC ).
comment by dom96 · 2014-12-29 · in Nim (formerly Nimrod) 0.10.2 released -
The Nim compiler itself is written in Nim: https://github.com/Araq/Nim There is Jester, a framework for web applications: https://github.com/dom96/jester HastyScribe looks pretty nice as well: https://h3rald.com/articles/hastyscribe/
comment by def- · 2014-12-27 · in Programming languages and Frameworks to learn in 2015 -
…time is ", flights[getClosest()].depart, ", arriving at ", flights[getClosest()].arrive [1] https://github.com/Araq/Nimrod/wiki/Nimrod-for-C-programmers [2]: https://www.reddit.com/r/programming/comments/2pvf68/armv7_v...
comment by Cyther606 · 2014-12-24 · in Computer Language Benchmarks Game – Rust vs. Go -
…time is ", flights[getClosest()].depart, ", arriving at ", flights[getClosest()].arrive [1] https://github.com/Araq/Nimrod/wiki/Nimrod-for-C-programmers [2] https://www.reddit.com/r/programming/comments/2pvf68/armv7_v...
comment by Cyther606 · 2014-12-22 · in Rust, an Anti-Sloppy Programming Language -
…really address one of Apple's chief concerns: smoothly transitioning away from Objective-C. [0]: https://github.com/Araq/Nimrod/graphs/contributors
comment by bjz_ · 2014-11-19 · in Why Python Is Slow: Looking Under the Hood -
…departure time is ", flights[getClosest()].depart, ", arriving at ", flights[getClosest()].arrive https://github.com/Araq/Nimrod/wiki/Nimrod-for-C-programmers
comment by Cyther606 · 2014-11-19 · in Why Python Is Slow: Looking Under the Hood -
…http://nimrod-by-example.github.io/variables/type_casting_in... Quick introduction for C programmers: https://github.com/Araq/Nimrod/wiki/Nimrod-for-C-programmers
comment by progman · 2014-08-25 · in Revenge of the Types -
…Nimrod will ever get there. It seems to be a one-man shop at this point (as this demonstrates): https://github.com/Araq/Nimrod/graphs/contributors
comment by tdees40 · 2014-07-17 · in Nimrod by Example -
…hobby work I'm doing. The compiler and standard library are MIT licensed. http://nimrod-lang.org/ https://github.com/Araq/Nimrod Also, there's a recent forum posting about the decision not to do LLVM codgen for now:…
comment by dmarble · 2014-06-29 · in Ask HN: What projects are you working on? -
Nimrod - http://nimrod-lang.org - http://github.com/Araq/Nimrod Nimrod is a "new" systems programming language which is statically typed, uses space delimited blocks (like Python) and compiles to C to create very fast and dependency free…
comment by dom96 · 2014-03-07 · in Ask HN: Looking for contributors? -
Have you seen Nimrod? http://nimrod-lang.org/manual.html#foreign-function-interfac... https://github.com/Araq/Nimrod/wiki/Nimrod-for-C-programmers http://nimrod-lang.org/
comment by ilaksh · 2014-02-10 · in If you had to start over, what technologies would you learn in 2014? -
To support the fact it's mainly one guy: https://github.com/Araq/Nimrod/graphs/contributors His name is Andreas Rumpf and he is really impressive.
comment by DorianMarie · 2014-01-16 · in Nimrod: A New Approach to Metaprogramming [video] -
…are case sensitive. Lot's of 'already defined' errors. There is nice discussion about it here: https://github.com/Araq/Nimrod/issues/521
comment by saejox · 2013-09-02 · in Nimrod: The Return of Pascal -
#def, according to https://github.com/Araq/Nimrod/blob/master/doc/c2nim.txt , requires modification of the C header files. I don't think this is a practical option, for example, they might be system .h files.
comment by WalterBright · 2013-08-26 · in Nimrod: C + Macros + GC