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
-
…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
comment by jdc · 2019-04-24 · in Nim – Natively compiled language with hot code-reloading at runtime [video] -
…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 -
…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...
comment by LyndsySimon · 2018-11-20 · in “The 's' is sad”: 4-year-old submits Linux kernel doc patch (2014) -
…some time ago. Total bonanza. ⁂ Ever wondered what the very first issue in Nim repository was? ( https://github.com/nim-lang/Nim/issues/1 )
comment by 9214 · 2018-10-31 · in Windows Defender detects malware in DMD -
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 -
…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 -
…explicitly (including the 'result' variable) and an RFC to make this switch non-optional. https://github.com/nim-lang/Nim/issues/7917
comment by Araq · 2018-07-06 · in C++: Is It Really a Cruel Joke? (2003) -
…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) -
…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 -
…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? -
▲ 47
Is Nim unsafe?story by Pharohbot · 2015-06-05 · 38 comments
-
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