Downloading Nim
Download and “installing” Nim using just curl
and tar
.
Download and “installing” Nim using just curl
and tar
.
How to use the Nim importcpp
pragma to bind to C++ Standard Template
Libraries like std::list
.
Deploying Nim applications as static binaries for GNU/Linux type operating systems, built using musl.
My attempt at FizzBuzz in Nim.
Nim 0.18.0+ ships with the strformat
library that provides the fmt
template which allows one to format strings using format specifiers
like in Python 3’s f-strings.
Collection of Nim snippets with brief notes as I try them out from the official Nim tutorial, Nim by Example and many other places. This also includes my own musings and hard-learned lessons.
When writing bash scripts, I often need to know if the script is receiving input from the terminal, or some piped process. I would also need to know if the script is sending output to the terminal, or to another piped process.
As I am learning Nim and trying to write new scripts using that, I need to know how to do the same in Nim.
Spoiled by being able to access in-built docs in Emacs at fingertips,
here’s an attempt to kind-of do that for Nim documentation too,
using devdocs.io
.
While learning the Nim language and trying to correlate that with my Python 3 knowledge, I came across this awesome comparison table of string manipulation functions between the two languages.
My utmost gratitude goes to the developers of Nim, Python, Org,
ob-nim
and ob-python
, and of course Hugo which allowed me to
publish my notes in this presentable format.