Re:Nim: Scripting Ease in a Compiled Language
by Phillips126 on Wednesday October 30, 2019 @09:28AM
(#21397438)
I would highly recommend it. Setup is incredibly easy (VSCode has great plugins for it), the language is simple to read/write and compiled Nim is very fast with small binaries. I also really like nimfmt to keep my code tidy so I don't need to worry about it. Nim compiles VERY quickly and errors seem to be easy to comprehend. It's definitely one of my go-to languages for most of my projects.
Re:Nim: Scripting Ease in a Compiled Language
by refaqtor on Wednesday October 30, 2019 @05:20PM
(#21402882)
Nim is great for knocking out commandline apps, I recommend "cligen" for quick and clean options, or "docopt" for friendlier cli options. They feel "scripty" when you can begin with a couple lines and grow it up from there.
I found it the easiest to learn. And difficulties getting my other favorite, D, on embedded and Haiku and OS/2 (which also have poor javascript support) was my prompt to give it a try. I found cross-compiling easy. But just as easy was having Nim installed on all my platforms.
I still haven't gotten around to picking it up though, these days I just use QuickJS for anything that needs to be reasonably portable and thin.
Maybe next side project...