You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
could nimcache be generated out-of-source (in /tmp) like rdmd does in D?
nim c -r util.nim
creates util, nimcache
dmd -run util.d doesn't create anything (only in /tmp) which is nice
can be seen with: writeln(thisExePath);
eg:
dmd -run:
/private/var/tmp/dmd_run1WOziZ
rdmd:
/private/var/folders/ll/dtasdfasf30dny4y61tf_80000gn/T/.rdmd-501/rdmd-main.d-B6C80F6AC29F80D70F072890F37AA29E/main
which hashes all compiler options so it'll run instantly on next use
post close TODO
other aspects, eg generate the binary in nimcache, caching the resulting binary