News for hackers. Stuff that matters.
Re:Mastering Nim – now available on Amazon by machinekob on Thursday June 30, 2022 @03:33PM (#31937428)
how are u compiling (optimization, custom compilation flags etc.?) In my case https://github.com/mratsim/Arraymancer big project compile under your 4.2s so or you have like 10k+ lines of codes with macros or you just pass some debug flags to compiler :D
Re:Mastering Nim – now available on Amazon by zimpenfish on Friday July 01, 2022 @04:53PM (#31952732)
Compilation command is:

    nim c -d:release --passC:"-flto" --gc:markAndSweep --out:ap ap.nim
I will add that once it's been run a few times, it does go a bit quicker (down to ~0.7s) but the Go also gets quicker (down to 0.28s for two outputs when files are cached.)