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. …at this point. Hot code-reloading part of the talk: https://youtu.be/7WgCt0Wooeo?t=1519 RFC: https://github.com/nim-lang/Nim/issues/8927 Code: https://github.com/onqtam/Nim/tree/hcr-1
  2. …thing [1]. You should definitely give Nim another shot. It has been very pleasant to use. [1] https://github.com/nim-lang/Nim/issues/9026
    comment by iffycan · 2019-01-09 · in Nim in 2018: A short recap
  3. …will be the thing that impacts the most people going forward. Here's the change, if you're curious: https://github.com/nim-lang/Nim/pull/6381/commits/921cc53e40...
  4. …some time ago. Total bonanza. ⁂ Ever wondered what the very first issue in Nim repository was? ( https://github.com/nim-lang/Nim/issues/1 )
  5. …is already `nim secret`, but there is work being done to create a better interactive environment. https://github.com/nim-lang/Nim/issues/8927
    comment by nepeckman · 2018-09-27 · in Nim 0.19
  6. I have implemented source maps for the js backend : https://github.com/nim-lang/Nim/pull/7508 They aren't merged yet in the upstream compiler because I wasn't sure if I wanted to refactor the jsgen with them, but otherwise they are almost…
    comment by alehander42 · 2018-09-22 · in A Programming Language Underdog
  7. …date or not. There's an open issue on github to improve the documentation on the garbage collector. https://github.com/nim-lang/Nim/issues/8802
    comment by lylecubed · 2018-09-22 · in A Programming Language Underdog
  8. …explicitly (including the 'result' variable) and an RFC to make this switch non-optional. https://github.com/nim-lang/Nim/issues/7917
  9. …this to have a proper type). This comment on this Nim issue gives a good example of what I mean, < https://github.com/nim-lang/Nim/issues/7370#issuecomment-376... >. But generally, I think it just speaks badly of discard-style thinking.…
    comment by mlthoughts2018 · 2018-07-06 · in C++: Is It Really a Cruel Joke? (2003)
  10. …like Python, has real macros, can call C, and compiles to C. Here's a comparison I just dug up: https://github.com/nim-lang/Nim/wiki/Nim-for-C-programmers I also doubt it will be harder to find C developers if tooling is written in HLL's.…
    comment by nickpsecurity · 2018-01-26 · in Some obscure C features
  11. …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?
  12. 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
  13. …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
  14. …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
  15. …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...
  16. …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
  17. …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
  18. Development of Nim ( https://GitHub.com/nim-lang/Nim ) and its tools is done openly on GitHub.
  19. …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
  20. …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
  21. …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...
  22. https://github.com/nim-lang/Nim/issues/936 still open :-(
  23. …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
  24. …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#)
  25. …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…
  26. > Does Nim have something like PEP-8? https://github.com/nim-lang/Nim/wiki/Style-Guide-for-Nim-Cod...
  27. 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)
  28. 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
  29. …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
  30. …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…
  31. …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…
  32. …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?
  33. ▲ 47
    Is Nim unsafe?
    story by Pharohbot · 2015-06-05 · 38 comments
  34. The following discussion on Github may answer your question https://github.com/Araq/Nim/issues/1979
  35. …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...
  36. …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…
  37. …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
  38. …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…
  39. > 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?
  40. …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?
  41. > - 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?
  42. …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?
  43. …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
  44. >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?
  45. …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
  46. …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
  47. …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
  48. 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/
  49. …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...
  50. …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