Hacker News new | past | comments | ask | show | jobs | submit login

In my experience, Nim was the more enjoyable language to write.

I had initially written an application in Golang that effectively keeps our DNS records in sync with CloudFlare across ~100+ machines (A, AAAA, CNAME, etc). The application was simple enough to write in Golang but I still wasn't crazy about the error handling (if err != nil...) after every few lines, as well as the large binary size once compiled (although I understand the reason for its size).

To see if I could do better, I re-wrote the application in Nim, a language I've always had a lot of interest in. With the logic already figured out the code writing was quick and easy. I found the finished code to be cleaner and more concise and when it came time to compile I was excited to find a binary that was only 83kb in comparison to the 6mb binary of the Golang version.

Of course your miles may vary and there are many advantages/disadvantages to every language but I personally look forward to writing more Nim in the future :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: