Re: Seq's and string with --gc:none

2019-11-25 Thread mratsim
Use --gc:destructors


Re: Seq's and string with --gc:none

2019-11-25 Thread drkameleon
I've just tried it, but the compiler emits a Error: system module needs: 
nimGCvisitSeq error


Seq's and string with --gc:none

2019-11-25 Thread drkameleon
Is there any way I can use sequences and strings _without_ a GC?

(basically, that's exactly what I'm doing - Nim doesn't complain at all - but I 
guess I'm leaking too much memory)

How do I manually allocate/deallocate a seq/string or whichever object for that 
matter?