Hacker GitHub

← All repos

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

Mentions per year 162 mentions · busiest year 2022 (26)
20082026
  1. …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?
  2. 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
  3. …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
  4. …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
  5. …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...
  6. …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
  7. …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
  8. Development of Nim ( https://GitHub.com/nim-lang/Nim ) and its tools is done openly on GitHub.
  9. …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
  10. …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
  11. …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...
  12. https://github.com/nim-lang/Nim/issues/936 still open :-(
  13. …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
  14. …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#)
  15. …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…
  16. > Does Nim have something like PEP-8? https://github.com/nim-lang/Nim/wiki/Style-Guide-for-Nim-Cod...
  17. 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)
  18. 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
  19. …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
  20. …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…
  21. …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…
  22. …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?
  23. The following discussion on Github may answer your question https://github.com/Araq/Nim/issues/1979
  24. …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...
  25. …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…
  26. …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
  27. …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…
  28. > 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?
  29. …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?
  30. > - 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?
  31. …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?
  32. …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
  33. >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?
  34. …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
  35. …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
  36. …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
  37. 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/
  38. …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...
  39. …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
  40. …really address one of Apple's chief concerns: smoothly transitioning away from Objective-C. [0]: https://github.com/Araq/Nimrod/graphs/contributors
  41. …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
  42. …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
  43. …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
  44. …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?
  45. 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?
  46. 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/
  47. 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.
  48. …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
  49. #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