Re: NIM Integration Problems with Server Side Postgres

2020-05-20 Thread panchove
Good news: It worked perfectly !! Thanks to both!

Re: NIM Integration Problems with Server Side Postgres

2020-05-20 Thread JPLRouge
hello:-d:useMalloc| ---|--- I feel like I'm faster, is true

Re: NIM Integration Problems with Server Side Postgres

2020-05-20 Thread panchove
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 $

Re: NIM Integration Problems with Server Side Postgres

2020-05-20 Thread cdome
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.