3 ms·
I haven’t used nim outside of some hello world toying a few years back. Is compiling actually that fast? I thought the nim compiler compiled to C and then calle
by rgrmrts 5y ago
I haven’t used nim outside of some hello world toying a few years back. Is compiling actually that fast? I thought the nim compiler compiled to C and then called gcc (or whatever system compiler), isn’t that slow in practice?
Any large nim projects that anyone can point me to would be helpful too, I’ll give the compiler a shot later today!
- kevin_thibedeau 5y agoWhen using Nim for "scripting" it is recommended to use TCC for rapid compilation. It is genuinely fast.
- sp33der89 5y agoThe proof is in the link! > Fast compile times: a full compiler rebuild takes ~12s (Rust: 15min, gcc: 30min+, clang: 1hr+, Go: 90s) [2]. The compiler is really big and self-hosted too. For large nim projects check out: https://github.com/mratsim/Arraymancer https://github.com/mratsim/Arraymancer or https://github.com/treeform/pixie https://github.com/treeform/pixie (personal faves).
- rgrmrts 5y agoThanks for the links, I’ll check those out.