Good news:
It worked perfectly !!
Thanks to both!
hello:-d:useMalloc|
---|---
I feel like I'm faster, is true
Hello, thanks for answering
I compile and link in this way
$ (MY_LIB_NIM): * .nim Makefile
nim c -d: release --passC: -fPIC --noMain --opt: speed --app:
staticlib --outdir: $ (NIM_OUTDIR) --nimcache: $ (NIM_CACHEDIR) --out: $
(basename $ < ) .a --header: $ (basename $
Do you compile to shared library? Things to check: You do call NimMain or
setupForeignThreadGC.
Another thing I recommend trying is to compile with \--gc:arc -d:useMalloc this
gives you garbage collection free environment that will ease integration with
postgres.