3 ms·
You have convinced me to look in to Nim! Can you speak to the build system(s)? CMake is the bane of my existence.
by Zamiel_Snawley 3y ago
You have convinced me to look in to Nim! Can you speak to the build system(s)? CMake is the bane of my existence.
- PMunch 3y agoAnother Nim user here. Typically you just build the project by `nim c <myProject.nim>`, since Nim has such a strong macro system a lot of typical build stuff is just done with macros. Of course there's also the default Nimble package manager which allows you to list dependencies and tasks using Nim itself. This means that if you know how to write Nim managing the build system is a breeze.
- elcritch 3y agoUgh, I just got done spending months fighting CMake before moving back to a position using Nim! You can also compile C projects with Nim like bearssl [1]. Nim takes care to compile the C files and recompile them when config flags change. It's actually really nice. 1: https://github.com/status-im/nim-bearssl/blob/99fcb3405c55b27cfffbf60f5368c55da7346f23/bearssl/abi/brssl.nim https://github.com/status-im/nim-bearssl/blob/99fcb3405c55b2...
- deleted 3y ago[deleted]
- netbioserror 3y agoGotta be honest here, I use a pretty simple Makefile. I don't have anyone else working on this program, so I can afford simplicity.
- inv2004 3y agoI did a lot of nim small projects. All of them are on nimble build system: https://github.com/inv2004 https://github.com/inv2004