Top all-time · #6165
Miran’s personal site
Personal blog · narimiran.github.io · on HN as narimiranprogramming
Miran’s personal site is a personal blog at narimiran.github.io about programming. Since 2018, 13 different Hacker News readers have linked it 17 times, most often “Learning Programming with Nim”. The last post was in 2024, but the archive is still widely read.
Too few sampled comments (9) to say how often HN recommends it.?
Why HN links it
HN readers link Miran's Nim tutorials, including Nim Basics and a Nim programming book, plus posts on Nim imports and speed versus NumPy. Commenters recommend the Nim learning material to newcomers.
Summarised by Claude from a sample of 9 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Learning Programming with Nim5 people · 5 mentions · first linked 2018-06-13
- Python vs. NumPy vs. Nim4 people · 5 mentions · first linked 2018-05-11
- Imports in Nim3 people · 3 mentions · first linked 2019-07-01
What Hacker News says?
Nim is a relatively small programming language that uses a Pythonic style of syntax. It adds some features that make it better suited to systems development, like type safety and better performance. It can be compiled using a few backends, to eg C or JavaScript. Nim recently hit 1.0 and has grown a lot of the years, but it still isn't particularly common to see in industry. You can see some Nim related projects on G…
Comment linking /2018/05/10/python-numpy-nim.html
on “Vim rendered on a cube for no reason”Submitted Learning Programming with Nim as a story · 181 points
HN discussionIt depends on your background. If you would like to go from the very beginning (no or minimal programming experience): https://narimiran.github.io/nim-basics/ (disclamer: I'm the author of that tutorial) If you are more experienced, and you want to explore all the possibilities that Nim provides, check the language manual: https://nim-lang.org/docs/manual.html If you need any help with getting started, join Nim chan…
Comment linking /nim-basics/
on “Nim 0.19”Submitted Python vs. NumPy vs. Nim as a story · 18 points
HN discussionThis is a really fantastic resource for learning programming with Nim. I've started recommending it to folks that are newer to programming that want to try Nim out for various reasons. The only downside is that it is written by a non-native english speaker, so some of the phrasing feels awkward at times. Of course, that's a non issue for this kind of technical material, it's very understandable and useful! You can a…
Comment linking /nim-basics/
on “Computer Programming with Nim”Submitted Python vs. NumPy vs. Nim as a story · 8 points
HN discussionThere is some logic as to why that is. Here [1] is an explanation for why it makes sense but the tldr is that you don't want to be manually importing functions such as `$` and `+`. In languages like Python, those are defined as methods on the object being imported (e.g. `.__str__()`) so they come along for free. Not so in Nim. If there's a conflict (same name, same signature), the compiler will warn you but it's ext…
Comment linking /2019/07/01/nim-import.html
on “Nim 1.6.2”Submitted Imports in Nim as a story · 3 points
HN discussionNim's a pleasant language to read/write! Out of curiosity, what aspects have you found challenging to learn? One caveat of imitating Python's syntax is that the semantics are not the same as in Python and are closer to Pascal/Ada in many ways. If you haven't read through the Nim-for-Pythoners [1] it'd be good. I read the "nim manual" [2] constantly and just use ctrl-f. Though Nim Basics by narimiran is a nice tutori…
Comment linking /nim-basics/
on “Pixie – A full-featured 2D graphics library for Nim”Submitted Advent of Clojure: Need for Speed as a story · 2 points
HN discussionthere's an article[0] addressing this topic though I'm not fully convinced [0] https://narimiran.github.io/2019/07/01/nim-import.html
Comment linking /2019/07/01/nim-import.html
on “Prologue: Full-Stack Web Framework Written in Nim”Submitted Python vs. NumPy vs. Nim as a story · 2 points
HN discussion> When I started learning Nim I noticed the docs and even the getting started tutorial just threw the kitchen sink at you, it totally overwhelmed me. This sums my experience as well. But nowadays there are more resources to learn Nim. The Nim in action book is a few years old but still holds. Nim basics is a free tutorial for beginners https://narimiran.github.io/nim-basics/ When did you start learning Nim?
Comment linking /nim-basics/
on “Nim – Python-like statically-typed compiled language”Submitted Imports in Nim (2019) as a story · 1 points
HN discussionI think the biggest issue is that Nim took a long time to “find its feet”. There was a lot of experimentation before the current sweet spot. Due to its new GC system ‘ARC’ it’s now broadly useable as a systems language, which wasn’t true before with a regular GC. ARC is non-atomic/non-locking reference count based, meaning it can be used to as a systems language (no GC pauses) or for system libraries (C programs can…
Comment linking //2018/05/10/python-numpy-nim.html
on “Compile time evaluation in Nim, Zig, Rust and C++”Numpy is nice but pure-Nim applications appear to outperform it easily: https://narimiran.github.io/2018/05/10/python-numpy-nim.html https://github.com/mratsim/Arraymancer
Comment linking /2018/05/10/python-numpy-nim.html
on “Ray Tracing in Nim”I assume the grandparent is referring to Nim’s insensitivity to underscores and capitalization in naming [1]. I’ve found this a tad annoying as well and I imagine I’d find it more troublesome in production use—I use ripgrep often to search codebases. [1] https://narimiran.github.io/nim-basics/#_variable_declaratio...
Comment linking /nim-basics/
on “Constantine: Nim lang high-performance, zero-dependency cryptography stack”