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. …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
  12. …== '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…
  13. 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
  14. I think this may be what you are looking for: https://github.com/nim-lang/Nim/blob/devel/changelog.md
  15. 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
  16. …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
  17. …"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
  18. 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…
  19. …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
  20. 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
  21. …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
  22. …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
  23. …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
  24. …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)
  25. 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
  26. …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
  27. 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
  28. "same with the 7th place[^3]. " No, that's not the Nim[0]. [0] https://github.com/nim-lang/Nim
  29. …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
  30. My issue is that Nim has some awkward problems with static linking: https://github.com/nim-lang/Nim/issues/15220
  31. …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
  32. …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
  33. …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]
  34. …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]
  35. …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…
  36. …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
  37. > 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
  38. …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
  39. …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
  40. …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
  41. …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
  42. …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…
  43. …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
  44. 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
  45. …you currently have to `import sugar` for bandaid fix. Nim is in progress to fix them, see here: https://github.com/nim-lang/Nim/pull/11992 I don't see why people can't admit to shortcomings in languages? I like Nim a lot, doesn't mean I'm…
    comment by throwaway234272 · 2022-04-27 · in Compile time evaluation in Nim, Zig, Rust and C++
  46. …`[backport]`) and even less [3] for narimiran) [1] https://forum.nim-lang.org/t/8540#55418 [2] https://github.com/nim-lang/Nim/commits/devel?author=Araq [3] https://github.com/nim-lang/Nim/commits/devel?author=narimir... Right now, it…
    comment by haxscramper · 2022-02-27 · in Computer Programming with Nim
  47. …natural and you get idiomatic Nim. You can even use objects named "self" to ease the transition. https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm...
    comment by nimmer · 2022-02-27 · in Computer Programming with Nim
  48. …form, without any declarative shenanigans. Indeed, it is implemented as part of the stdlib here: https://github.com/nim-lang/Nim/blob/ce44cf03cc4a78741c423b2... Of course, that implementation is more complex than the one in the article…
  49. …All while delivering fast compile speeds! The adoption isn't like Rust and Go, but Nim is growing: https://github.com/nim-lang/Nim/wiki/Organizations-using-Nim and the community is active across all socials. Some downsides: not a big…
    comment by sp33der89 · 2021-12-17 · in Nim 1.6.2
  50. …operator. I know I’m not alone because I’ve seen others mirror my concerns on Nim forums [0]. [0] https://github.com/nim-lang/Nim/issues/3502
    comment by jimbob45 · 2021-10-28 · in Expectations for generics in Go 1.18