3 ms·
What are Nim's compile times like? I write a lot of C++, and by far my biggest issue is compile times for large projects. I'd love a systems language that had d
by logicchains 7y ago
What are Nim's compile times like? I write a lot of C++, and by far my biggest issue is compile times for large projects. I'd love a systems language that had decent compile times for template-heavy code.
- sp33der89 7y agoAs girvo mentioned, compile times are really fast. Might not be as fast if you're heavy user of metaprogramming but it's still really good. For example see: https://github.com/mratsim/Arraymancer https://github.com/mratsim/Arraymancer in the README it mentions: > Note: While Nim is compiled and does not offer an interactive REPL yet (like Jupyter), it allows much faster prototyping than C++ due to extremely fast compilation times. Arraymancer compiles in about 5 seconds on my dual-core MacBook.
- PMunch 7y agoReally fast! Even with heavy meta-programming it stays fast. As an example bootstrapping the latest stable release on my machine takes 1m06s. This is a process that involves compiling the compiler multiple times, just compiling the compiler takes 41s (i7-4770K, so not a sloth of a processor, but still).