From Go to Nim

I have been using Go to build small project for a while, and I’m now looking into Nim. Coming from Go to Nim gives certain challenges. Go compiles directly to a binary. Nim compiles to c/c++ and depend on a…

Lets Nimble

Nim’s package manager is called Nimble. Start a new project: nimble init helloworld Install a package: nimble install illwill nimble install illwill head nimble install Alert: Remember to manually add the package, fx illwill to the projects projectname.nimble file…

Leetspeak Nim

Yes, Leetspeak was a thing… This code shows som string mangling and access to argv command line items. import std/strutils import std/os proc leetspeak(s: string): string = let r = s.toUpper() const leetfabet = [(“E”,”3″), (“B”,”8″), (“C”,”[”), (“L”,”1″), (“O”,”0″), (“A”,”4″)]…

Trying out Nim

Even though it has little adoptation, Nim looks like a cool promissing language! Lets try it out. Getting started is easy, using choosenim After answering a few questions, you have Nim installed and can call Hello World Nim’s package manager…

It can’t Go on

I have been using Go as my primary language the last 4 years. I have developed several internal tools using Go and for most parts I really like it. The good. Its fast on all sides. Fast development time (OK,…