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. …to be the same and still have O(n) performance. On a delete, an entirely new table is constructed. https://github.com/nim-lang/Nim/blob/devel/lib/pure/collecti... I didn't know about Nimony and just took a look.…
    comment by prirun · 2026-08-14 · in Mojo 1.0
  2. …see them leaving a 'like' on mod's message). Or we could look at the project's contributor graph: https://github.com/nim-lang/Nim/graphs/contributors instead of likes on moderator's posts on the forums > I know that some of people that…
    comment by tinfoilhatter · 2025-11-01 · in Nim 2.2.6
  3. …be sure --lineDir=off in your nim.cfg or config.nims (to side-step the infinite loop mentioned in https://github.com/nim-lang/Nim/pull/23488 ). You may also need to --tlsEmulation=on if you do threads and you may want to --passL=-lm. tcc…
    comment by cb321 · 2025-10-04 · in Zig builds are getting faster
  4. Main development branch - https://github.com/nim-lang/Nim/tree/devel/tools/niminst
  5. …a lot of other shortcomings[1] of Python.[2] [1] - https://github.com/yugr/python-hate [2] - https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm...
  6. …interested in differences in "idiomatic Nim" from Python for which there are more details here: https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm...
  7. …this can work and want a concrete example, you could look at the Nim stdlib Table implementation: https://github.com/nim-lang/Nim/blob/fbdc9a4c19aafc25937aaa5... or you could read the Knuth subsection that I referenced, but Knuth uses a…
  8. BTW, there's some analysis of some of the hash functions you mentioned (pjw, FNV1A, or djb) over here https://github.com/nim-lang/Nim/issues/23678 - just in-page search for "pjw" to find a table. Really only 1 cpu & 1 C compiler (though…
  9. All these organizations[1] using nim in production must disagree with you then. [1]: https://github.com/nim-lang/Nim/wiki/Organizations-using-Nim
    comment by planetis · 2025-01-07 · in Zig's comptime is bonkers good
  10. …problem, Nim uses templates[1] and a `mixin`[2] statement to bind user-defined hash procedure. 0 - https://github.com/nim-lang/Nim/lib/pure/collections/tables.... 1 - https://github.com/nim-lang/Nim/blob/652edb229ae3ca736b19474... 2 -…
    comment by archargelod · 2024-11-23 · in Traits are a local maximum
  11. ▲ 4
    Nim for Python Programmers
    story by archargelod · 2024-11-07 · 0 comments
  12. …default [1]. I think Nim-core changed their mind about this being a good idea a few months later: https://github.com/nim-lang/Nim/pull/21728 (though the message still says "The bare except clause is deprecated" if you do compile with…
    comment by cb321 · 2024-10-09 · in PEP 760: No more bare excepts
  13. …== 'C' or letter == 'G': gc += 1 total += 1 echo(gc / total) [0] - https://nim-lang.org [1] - https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers [2] - https://benjamindlee.com/posts/2021/why-i-use-nim-instead-of-python-for-data…
  14. It’s not exhaustive/definitive yet (should be for the actual release), but this might be helpful: https://github.com/nim-lang/Nim/blob/devel/changelog.md
    comment by michaelsbradley · 2024-07-13 · in Nim 2.2 release candidate is available for testing
  15. I think this may be what you are looking for: https://github.com/nim-lang/Nim/blob/devel/changelog.md
  16. Perhaps the Nim Github Wiki would be more to your liking? https://github.com/nim-lang/Nim/wiki EDIT: In particular, the "Nim for X Programmers" pages seem popular.
    comment by cb321 · 2023-12-06 · in Mastering Nim, 2nd edition
  17. ▲ 188
    NIR: Nim Intermediate Representation
    story by michaelsbradley · 2023-09-30 · 83 comments
  18. …because removing them reduced memory consumption and decreased compile times, so ymmv [0] https://github.com/nim-lang/Nim/pull/20433
    comment by shirleyquirk · 2023-09-10 · in I wrote a string type
  19. …"BUT ZIG..", but how about Nim? Looks like there is a native library implementation of `lowerBound` https://github.com/nim-lang/Nim/blob/version-2-0/lib/pure/al... Yes, it's not a "bare-metal" language, but it compiles to one (or two), so…
    comment by shmageggy · 2023-08-11 · in Fastest branchless binary search
  20. ▲ 4
    Nim for Python Programmers
    story by EntICOnc · 2023-07-12 · 0 comments
  21. ▲ 5
    Nim for Python Programmers
    story by open-source-ux · 2023-07-10 · 0 comments
  22. Same ideas are used in Nim's incremental compilation (wip) https://github.com/nim-lang/Nim/tree/devel/compiler/ic Also there are two JSON implementations with a flat architecture https://github.com/Araq/packedjson and…
  23. …actually true for Nim - almost all Nim Discord channels are bridged to different IRC channels, see https://github.com/nim-lang/Nim/wiki#bridged-real-time-chats
    comment by Tiberium · 2023-06-04 · in Zig is hard but worth it
  24. I really wish they would fix the static linking. has needed a hack for three years: https://github.com/nim-lang/Nim/issues/15220
    comment by 2h · 2023-03-31 · in Nim 2.0.0 RC2
  25. …for awhile even the main installer was getting flagged, as well as tools like choosenim. See e.g. https://github.com/nim-lang/Nim/issues/17820
    comment by dbrueck · 2023-02-18 · in Returning to Nim from Python and Rust
  26. …legitimate patterns that are also useful to malware and so get falsely reported as such, e.g. https://github.com/nim-lang/Nim/pull/19767
  27. …involved. In this case maybe not, but MS Defender doesn't like Nim (and Nimble), either[0][1]. [0] https://github.com/nim-lang/Nim/issues/18933 [1] https://forum.nim-lang.org/t/8196
  28. …it was much slower than trivial code in Python and Groovy, then stumbled into this discussion: https://github.com/nim-lang/Nim/issues/9026 Nothing as strong as the above but it definitely rubbed me the wrong way. So much advertising about…
    comment by zmmmmm · 2023-01-27 · in The Python Paradox (2004)
  29. However, Nim's is very simple: https://github.com/nim-lang/Nim/blob/version-1-6/lib/system/...
    comment by xigoi · 2023-01-16 · in Rust vs. C++ Formatting
  30. …entire wiki page to welcome developers coming from python, and show where the two languages differ: https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm...
    comment by ReneSac · 2022-12-24 · in Nim version 2.0.0 release candidate
  31. There's a list in the very announcement: https://github.com/nim-lang/Nim/wiki/Organizations-using-Nim though I'd imagine the number will remain small as Nim's too artisanal for enterprise to grok.
    comment by intelVISA · 2022-12-22 · in Nim version 2.0.0 release candidate
  32. "same with the 7th place[^3]. " No, that's not the Nim[0]. [0] https://github.com/nim-lang/Nim
  33. …var bar: Bar = nil # error: type mismatch echo bar.a Discussion about not nil by default is here: https://github.com/nim-lang/Nim/issues/6638
  34. My issue is that Nim has some awkward problems with static linking: https://github.com/nim-lang/Nim/issues/15220
  35. …or web apps with https://github.com/karaxnim/karax . The list goes on! https://github.com/nim-lang/Nim/wiki/Curated-Packages But, what if you want to use that battle tested C++ library? Nim can compile to C++ so you have native A
  36. …on the OrderedTable implementation to make deletes O(1) as expected with hash table operations: https://github.com/nim-lang/Nim/pull/14995 After spending a lot of time on this, I finally gave up. The problems were: - the JSON…
    comment by prirun · 2022-11-11 · in A cost model for Nim
  37. …But there were issues with Nim executables being incorrectly flagged as viruses in Windows. ^1 1. https://github.com/nim-lang/Nim/issues/17820
    comment by Decabytes · 2022-10-12 · in Introduction to Dlang [video]
  38. …Nim anymore? Nim has some serious technical debt, and it seems they don't have the manpower for it: https://github.com/nim-lang/Nim/issues/14719
    comment by svnpenn · 2022-10-12 · in Introduction to Dlang [video]
  39. …And one last one for basic algorithms which I'd use to teach intro to data structures any day: https://github.com/nim-lang/Nim/blob/version-1-6/lib/pure/al... Of course Knuth's original code is still some of the best classic code. K&R's…
  40. ▲ 2
    Nim for TypeScript Programmers
    story by andsoitis · 2022-09-10 · 0 comments
  41. …not magically rewrite all previous commit messages, although apparently the improvement is present https://github.com/nim-lang/Nim/commits?author=Araq - most of the total ~25 comments made in the last seven months since December 9, 2021…
    comment by haxscramper · 2022-07-08 · in NimSkull: A Hard Fork of Nim
  42. > unraveling mysteries of the commit messages that were written with this attitude https://github.com/nim-lang/Nim/pull/19211#issuecomment-9859 ... Curious to know what your vision of commit messages is. My commit messages look exactly…
    comment by dmos62 · 2022-07-08 · in NimSkull: A Hard Fork of Nim
  43. …legacy features, unraveling mysteries of the commit messages that were written with this attitude https://github.com/nim-lang/Nim/pull/19211#issuecomment-9859... ("I have no intention to follow this guideline so I cannot accept it.")…
    comment by haxscramper · 2022-07-08 · in NimSkull: A Hard Fork of Nim
  44. …is why so much effort has been spent on incremental compilation, which tmk, still isn't working - https://github.com/nim-lang/Nim/issues/19757 .
    comment by hahaitsfunny · 2022-07-02 · in Mastering Nim – now available on Amazon
  45. …with Nim a couple of years ago for HashBackup. Here's one of the db_sqlite issues I created: https://github.com/nim-lang/Nim/issues/13559 I had much better luck with tiny_sqlite: https://github.com/GULPF/tiny_sqlite
  46. …a wordle clone in a few days of very limited spare time. The reference I used the most was this: https://github.com/nim-lang/Nim/wiki/Nim-for-TypeScript-Prog...
    comment by steve_adams_86 · 2022-05-28 · in Nim: Curated Packages
  47. ▲ 86
    Nim: Curated Packages
    story by themodelplumber · 2022-05-27 · 27 comments
  48. …of years ago, and it's very annoying. I just checked some stdlib functions and it's still there: https://github.com/nim-lang/Nim/blob/devel/lib/std/varints.n... For example, in readVu64: 18: proc readVu64*(z: openArray[byte]; pResult: var…
  49. …yourself acquainted with the project's structure. Here's a few links for your consideration: * https://github.com/nim-lang/Nim/issues?q=is%3Aissue+is%3Aope... * https://dev.to/xflywind/best-ways-to-make-your-first-contrib... *…
    comment by ZoomZoomZoom · 2022-05-05 · in Nim Version 1.6.6 Released
  50. I wish they would take the antivirus issue on Windows more seriously https://github.com/nim-lang/Nim/issues/17820 This issue alone means I can't use it at work, and I haven't put much time and thought into Nim as a whole because I could…
    comment by styeco · 2022-05-05 · in Nim Version 1.6.6 Released